conorjgallagher / Dynamics.ExtendedSvcUtil

Extension of the CrmSvcUtil to allow more custom creation of early bound types
5 stars 2 forks source link

Doesn't work with CRMSvcUtil 8.2.0.8411 #2

Open Jonhyb opened 7 years ago

Jonhyb commented 7 years ago

Hi, first of all thank you for sharing this extension of CRM Svc util. Your code save me a lot of hours and I was using that for 2 or 3 months. I turns out that since the last update of CRM, when I had try to create a plugin that uses earlybound types generated by this tool and tries to create some entity, it gives me error. I downloaded the last CRM SDK and try to use the earlybound generated by crmsvctool OOB and the plugin works fine. According to my analyze, the latest CRM SDK uses CRMSvcutil version 8.2.0.8411. I try to pull this version on your project, but it's seems to have problems regarding the OptionSets. I compare the code generated between version 8.2.0.8411 and 8.2.0.749 (last version that works) and it seems that metadata changed structure a little bit. See this images bellow to see the change: image

I tried to fix your code to this new structure but was not succeed. Sorry for the bother, good luck to you.

PS: You might want to clean info at file "AssemblyInfo.cs" ;)

conorjgallagher commented 7 years ago

Thank you for raising this with me. I hadn't used this with the latest and greatest so will have to get it updated.

Leave it with me. Hoping it's just OptionSets they've changed. I know they've done a lot of work with the CrmSvcUtil though as there's very nice integration with Visual Studio now.

conorjgallagher commented 7 years ago

Close and comment button is far to close to the comment button...