If you have installed the new Dynamics CRM 2011 Developer Toolkit for Visual Studio 2012, you might notice that package projects created using the old developer toolkit fail to load. This is manifested in an error similar to the below.
To fix the problem follow the steps below:
- Right click on the package project and click Unload
- Right click on package project and click on Edit
- Replace “<Import Project=”$(MSBuildExtensionsPath32)MicrosoftCRMMicrosoft.CrmDeveloperTools.CrmClient.targets” />” with “<Import Project=”$(MSBuildExtensionsPath32)MicrosoftCRMMicrosoft.CrmDeveloperTools.12.targets” />”
- Right click on the package project and click on Reload
This will fix the problem. The problem is because the target files location is different between the developer tools for visual studio 2010 and visual studio 2012.
Hope this helps
