1

I have managed to generate early bound classes using the CrmSvcUtil code generation tool:

enter image description here

But the highlighted assembly ProxyTypesAssemblyAttribute is causing issues when trying to establish a connection with my organization through Dataverse with following exception;

InvalidOperationException: Resolved assembly's simple name should be the same as of the requested assembly.

enter image description here

When I remove the highlighted assembly code-line, it can succesfully establish the connection.

The referenced library looks correct since it is pointing at Microsoft.PowerPlatform.Dataverse.Client (1.0.9) which I also use to establish the connection.

enter image description here

Osman Esen
  • 1,704
  • 2
  • 21
  • 46
  • I got a problem similar to yours. What I did was creating a console application that uses the Roslyn library (Microsoft.CodeAnalysis.CSharp) in order to get rid of the lines generated from CrmSvcUtil that I don't need. I use the CrmSvcUtil classes as my input and that console application creates a similar output according to my needs. – Luis Gouveia Nov 12 '22 at 10:42

0 Answers0