Could not load file or assembly ‘Microsoft.Crm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies while running Stunnware Tools (SWTools) in CRM 2011


While trying to run SWTools for CRM 2011, we might receive the “Could not load fie or assembly Microsoft.Crm.Sdk” error.

The solution is to create a file named SwTools.exe.config with the following content

 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 <assemblyIdentity name="Microsoft.Crm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />
 <publisherPolicy apply="no" />

And place the file where the SwTools.exe is.

Thanks to David for providing the solution.

Have a look at this post as well



Useful tool for Exporting all the JavaScripts in CRM 2011


I have been regularly using the following tool developed by Tanguy for exporting the JScript web resources. The tool is extremely intuitive and helpful. Just thought of sharing it.