use*_*109 2 .net c# wcf service-reference
更新服务引用后,我收到以下错误构建我的项目:
不包含'DefaultResolveType'的定义
在自动生成的Reference.cs上抛出错误,但DefaultResolveType方法应该在生成的类中,因为它是从'this'关键字调用的.自上次成功构建以来,数据服务没有更改,客户端代码也没有更改.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
protected global::System.Type ResolveTypeFromName(string typeName)
{
global::System.Type resolvedType = this.DefaultResolveType(typeName, "Microsoft.Crm.Sdk.Data.Services", "ITF.DataAccessLayer.CRM.CrmAccessService");
if ((resolvedType != null))
{
return resolvedType;
}
return null;
}
Run Code Online (Sandbox Code Playgroud)
小智 6
好的..我已经弄清楚如何解决这个问题:
好像这个软件包的5.6版有问题
| 归档时间: |
|
| 查看次数: |
2755 次 |
| 最近记录: |