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 :)
About these ads
  1. Raghu Nandan
    December 11, 2011 at 5:25 PM | #1

    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.

  2. wangzhen
    September 27, 2012 at 11:49 AM | #3

    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.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 90 other followers

%d bloggers like this: