小编rsp*_*ino的帖子

无法创建接口的实例

安装配置文件1.1后,在用户内容类型中添加至少一个字段,然后转到用户模块并单击添加新用户,单击保存,您将收到此错误.任何帮助都会很感激.

'/ OrchardLocal'应用程序中的服务器错误.

无法创建接口的实例.描述:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息.

Exception Details: System.MissingMethodException: Cannot create an instance of an interface.

Source Error: 


Line 146: public void EndProcessRequest(IAsyncResult result) {
Line 147: try {
Line 148: _httpAsyncHandler.EndProcessRequest(result);
Line 149: }
Line 150: finally {


Source File: C:\Users\rspaulino\Desktop\src\Orchard\Mvc\Routes\ShellRoute.cs Line: 148 

Stack Trace: 


    [MissingMethodException: Cannot create an instance of an interface.]
    System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
    System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +98
    System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) …
Run Code Online (Sandbox Code Playgroud)

asp.net asp.net-mvc model-binding orchardcms asp.net-mvc-3

6
推荐指数
1
解决办法
1万
查看次数

TFS 2017.1失败完成SonarQube分析

在这台测试机上我安装了:

  • VS17企业版
  • TFS17.1
  • SonarQube 6.3
  • 用于MSBuild 2.2的SonarQube扫描仪
  • Msbuild /版本

Microsoft(R)Build Engine版本15.1.548.43366版权所有(C)Microsoft Corporation.版权所有.

但我在"完成SonarQube分析"中收到此错误:

The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:

1. The project has not been built - the project must be built in between the begin and end steps

2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported

3. The begin, build or end steps have not all …
Run Code Online (Sandbox Code Playgroud)

msbuild tfs sonarqube azure-devops

1
推荐指数
1
解决办法
1308
查看次数