I am trying to write a GP AddIn using VS 2010. I have run into a problem when I compile a 4.0 .DLL
Has anyone else been able to use 4.0 libraries in GP 2010?
*This post is locked for comments
I am trying to write a GP AddIn using VS 2010. I have run into a problem when I compile a 4.0 .DLL
Has anyone else been able to use 4.0 libraries in GP 2010?
*This post is locked for comments
I knew that, and that is the answer I expected. I will give it a try but I don't know if using the GAC is the answer. Sort of defeats the purpose of XCopy Deploy :(
John,
I apologize, I mis spoke in my previous post. I checked and I am compiling in .NET 3.5. I think the issue has something to do with the GAC and that the assemblies are trying to be registered using the version that ships with 2.0 and worked throuhgh version 3.5.
Everything has changed with .NET 4.0, including the GAC and the location withing the C:\Windows directory. If you can register the assemblies using the new GAC, then you might be able to overcome the error.
Aaron
Yes.
I am on GP2010
The message specifically references the Framework version.
Are you copying all the assemblies that you need? If you reference other assemblies in your integration, they need to be copied as well.
What version of Dynamics are you on?
If you change the .NET version back to 2.0 or 3.5, does the startup error go away?
When I copy the 4.0 .dll into the addins folder I get a messge at startup about the assembly being invalid.
I have been successful with compiling using .NET 4.0.
What issues specifically are you having?
Regards,
Aaron
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156