1) Go to C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ PrivateAssemblies
2) Find Microsoft.Moles.VsHost.x86.exe.config
3) Open and modify by adding the following lines at runtime
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Moles" publicKeyToken="0ae41878053f6703" culture="neutral"/>
<bindingRedirect oldVersion= "4.0.0.0"
newVersion= "2.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
source
share