Home
> CRM 2011, Plug-Ins > “Plug-in assembly does not contain the required types or assembly content cannot be updated”- CRM 2011
“Plug-in assembly does not contain the required types or assembly content cannot be updated”- CRM 2011
Hi,
You may get this exception when you try to update the plug-in assembly using Plug-In registration tool.
Reasons:-
-
When you change a class name inside the plugin assembly and try to update the plug-in assembly using Plug-in registration
- Here is another interesting scenario that could lead to the this exception
- Assume User 1 & User 2 are working on the same Plug-In assembly using Source Control
- User 1 updated the assembly and registered the Plug-In but forgot to check in
- Next day, User 2 would like to develop a plugin. He checks out latest source code(but User 1 plugin missing because User 1 did not check in the code)
- When User 2 tries to update the plugin assembly in CRM 2011, he gets “Plug-in assembly does not contain the required types or assembly”, because of assembly version mismatch.
Fix:-
- Try unregistering the assembly all together and re-registering the assembly after creating your new class; yes this means you will need to recreate your steps and images
Hope it helps 🙂
Hi Rajeev,
I am Raghu Nandan. I am getting the same issue when I merged the dlls and try to register (not update) the plug-in. I have unregistered the old plugin and tried to register again. But still I am getting the same issue. Any idea on this ?
Thanks in advance.
Hi Raghu,
One of the reason could be .dll version issue. Please refer below useful posts that depicts your scenario
http://social.microsoft.com/Forums/en-US/crm/thread/cf7bff66-5705-44e9-b584-4caac163056f
http://crmdm.blogspot.com/2011/06/plug-in-assembly-does-not-contain.html
Thanks,
Rajeev
I encounter the same error when I import the solution into the CRM 2011.
My Solution is:
1. Go to “Settings”,select “Customizations” under the Customizations
2. click”Customize the System” at the right side
3. In the pop-up form,Select “Plug-in Assemblies”, and delete the items in the right side
4. Try again
May this can help you.