Monday, February 9, 2015

Visual Studio 2012 - Error message “No exports were found that match the constraint contract name”

Today I faced problem when I try to create a new project or opening an existing project in Visual Studio 2012.

The issue details:

I was getting the below error prompt when I tried to create new project in Visual Studio

Error message “No exports were found that match the constraint contract name...................”

After few hours of research and googling have solved this problem by clearing "ComponentModelCache" under app data.

Visual Studio 2012 users can found that folder from below location:

C:\Users\....\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache

Here just clear the contents/files inside the "ComponentModelCache" folder and restart the Visual Studio.

The issue solved !!!

No comments:

Post a Comment