Hi All,
I have created console App for On Premise Dynamics CRM with .Net Framework 4.7.2 and latest packages Microsoft.CrmSdk.XrmTooling.CoreAssembly & Microsoft.CrmSdk.CoreAssemblies. This was working fine and was needed to be hosted in Dynamcis CRM Server as exe in Task Scheduler.
But my Client has installed .Net Framework 4.0.0 in Dynamics CRM Server and it cannot be upgraded. Hence I changed the .Net Framework to 4.0.0 in Console App and uninstalled lastest packaged and added Microsoft.CrmSdk.XrmTooling.CoreAssembly -version 6.1.1 & Microsoft.CrmSdk.CoreAssemblies -version 6.1.1. But I see a lot errors in code like for below lines:
CrmServiceClient crmSvc = new CrmServiceClient(ConfigurationManager.ConnectionStrings["OnPremCRM"].ConnectionString);
EntityCollection eccr = crmSvc.RetrieveMultiple(cr);
crmSvc.Update(entcur);
I am not sure , What I am missing here. Thanks for the help.
Regards,
Persis