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
<configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.Crm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <publisherPolicy apply="no" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
And place the file where the SwTools.exe is.
Thanks to David for providing the solution.
Have a look at this post as well