I am recently having problems updating plugins in CRM Online version 8.2. I have tried the v8.2.1.1 and v9.x versions of the registration tool; I was able to get 8.2.1.1 working by forcing .Net 4.6.2 in the config file and TLS 1.2 by updating the registry. I have tried creating a new plug-in and updating an existing plug-in. Each tool generates the same error message.... "error occurred while checking whether the assembly exists". If I un-check the "Update Assembly Properties and Contents", I can get it to remove existing event handlers (with errors), but regardless of the settings, it will not add new events or upload the new DLL. BTW, I am using the Sandbox and storing the assembly to Database. Any ideas?
*This post is locked for comments
Figured out the issue... when I upgraded my solution to .Net 4.6.2, the plug-in projects also upgraded. Since I am using CRM 8.2, I need to downgrade the plug-in projects to 4.5.2.
Based on the error message, it appears that you have changed the properties of the assembly due to which CRM is considering it as a new assembly and not old. As suggested above, unregiuster your previous assembly and then registering it again.
Hope this helps.
Hi Chris Varner,
You may be able to resolve this issue by unregistering and reregistering your Plugin. You may also be able to resolve this error by changing the AssemblyVersion and AssemblyFileVersion values in your AssemblyInfo.cs file.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6