Oct 10, 2013

Resolving Issue while creating project in VS2010 - No Exports were found that match the constraint

After installing the new version of Visual Studio VS2010 , I came across a different error message while trying to create new project , to say create anything newly. We are going to see the details of the error message and how to resolve that issue. 

ERROR:
On clicking , File -->  New Project the below error message pops us in VS2010

"No Exports were found that match the constraint"

below is the screenshot of the error message I have encountered. 


After analysis , it is found that on cleaning of some temp files the above error can be suppressed.

Steps to Resolve:
  1. Try to delete ComponentModelCache folder from below location. "%AppData%\..\Local\Microsoft\VisualStudio\11.0\" and after successful delete recreate the folder with same name "ComponentModelCache".
  2. Problem was resolved by installing update for Visual Studio from the below link. http://www.microsoft.com/en-us/download/details.aspx?id=36020

After the above two steps , try to Reopen your visual studio and you should be able to create new projects and do whatever you want. 

Happy coding!!!

No comments: