Blog Archives

CRM Developer Toolkit for Visual Studio 2012: Package Project not loading

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.

TargetFilesNotFound

To fix the problem follow the steps below:

  1. Right click on the package project and click Unload
  2. Right click on package project and click on Edit
  3. Replace “<Import Project=”$(MSBuildExtensionsPath32)Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.targets” />” with “<Import Project=”$(MSBuildExtensionsPath32)Microsoft\CRM\Microsoft.CrmDeveloperTools.12.targets” />”
  4. 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