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

About these ads

Posted on February 25, 2013, in CRM Developer Toolkit and tagged , , , . Bookmark the permalink. 1 Comment.

  1. It Worked ..Thank you :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 40 other followers

%d bloggers like this: