How to fix Assembly does not have a strong name for CRM ?

Referenced assembly XXX does not have a strong name.

These errors are taken in the following steps : 

  • Deployment with CRM Package
    CRM Assembly Build

 

  • Register the Plugin with Plugin Registration Tool

CRM Strong Name Signing

 

How to Sign an Assembly in Visual Studio ?

  • With the project node selected in Solution Explorer, from the Projectmenu, click Properties(or right-click the project node in Solution Explorer, and click Properties)

CRM Strong Name Signing

  • In the Project Designer, click the Signing tab
  • Select the Sign the assembly check box

CRM Strong Name Signing

  • Specify a new key file. In the Choose a strong name key file drop-down list, select New… Note that new key files are always created in the .pfx format.The Create Strong Name Dialog appears.
  • In the Create Strong Name Key dialog box, enter a name and password for the new key file, and then click OK

More info : https://msdn.microsoft.com/en-us/library/ms247123(v=vs.90).aspx

 

Why Strong Name is required for CRM Projects ?

https://social.microsoft.com/Forums/en-US/01de0856-e7a6-429b-b150-cca174eefb28/why-strong-name-key-is-required-for-plugin-in-ms-crm-40?forum=crmdevelopment

 

We recommend you that read in a very detail post on Hosk’s Dynamic CRM Blog

https://crmbusiness.wordpress.com/2014/10/01/assembly-generation-failed-referenced-assembly-does-not-have-a-strong-name/

 

Leave a Reply

Your email address will not be published. Required fields are marked *