在更新服务引用后,我收到以下错误:
不包含'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;
}
答案 0 :(得分:6)
好的..我已经弄清楚如何解决这个问题:
似乎此软件包的5.6版存在问题