I get the following error building my project after updating a service reference:
does not contain a definition for 'DefaultResolveType'
The error is thrown on the auto-generated Reference.cs, but the DefaultResolveType method should be in the generated class as it is called from the 'this' keyword. The data service hasn't changed and the client code hasn't changed since the last successful build.
[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;
}
OK.. I've figured out how to fix this:
Seems like there is a problem with version 5.6 of this package