Monday, October 31, 2016

Fixing Visual Studio projects created with CRM Developer Toolkit

If you try to open a Visual Studio 2012 CRM plug-in or workflow activity project which was created with the CRM Developer Toolkit in Visual Studio 2013 or Visual Studio 2013 you will notice that it does not open and that it states – “This project is incompatible with the current edition of Visual Studio”. Unfortunately the CRM Developer Toolkit has not been updated to work with the newer versions of Visual Studio. There is however an easy fix for this -  open the csproj file of the Visual Studio project in Notepad++ – look for the ProjectTypeGuids line and simply delete it. This fixed it for me with Visual Studio 2015 – if you encounter other errors – take a look at How to remove dependencies to CRM Developer Toolkit

Tags van Technorati: msdyncrm,Dynamics+CRM,Visual+studio,Microsoft,CRM,development,c#,csharp

1 comment:

Unknown said...

May I add, in case you don't succeed at first :

Remove the content from the folder %AppData%\Local\Microsoft\VisualStudio\11.0\ComponentModelCache

(or ...\12.0\..., ...\14.0\...)

All credits for this extra tip to Salim Adamon (https://salimadamoncrm.com/2015/10/01/how-to-remove-dependencies-to-crm-developer-toolkit/)