locked
Unhandled Exception while register plugin in crm 2011 ? RRS feed

  • Question

  • Hi,

    I have upgrade crm 4.0 to crm 2011 after that i want to move my plugin also...for that i have copied my plugin from 4.0 and pasted in crm 2011 environment. After that i have successfully build my plugin.

    then i open plugin registration tool to register but its showing below error when i load.... 

    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Crm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
       at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
       at System.Reflection.RuntimeAssembly.GetExportedTypes()
       at PluginRegistrationTool.AssemblyReader.RetrievePluginsFromAssembly(String path) in C:\CRM Tools\sdk\tools\pluginregistration\AssemblyReader.cs:line 134
       at PluginRegistrationTool.AssemblyReader.RetrievePluginsFromAssembly(String path)
       at PluginRegistrationTool.RegistrationHelper.RetrievePluginsFromAssembly(String pathToAssembly) in C:\CRM Tools\sdk\tools\pluginregistration\RegistrationHelper.cs:line 42
       at PluginRegistrationTool.PluginRegistrationForm.btnLoadAssembly_Click(Object sender, EventArgs e) in C:\CRM Tools\sdk\tools\pluginregistration\PluginRegistrationForm.cs:line 158

    Please suggest ....

    Thursday, August 25, 2011 6:35 AM

Answers

All replies