Wednesday, 17 December 2014

Visual Studio Error

This morning I faced a problem while opening layout of the report from development environment, it shows the below error:


---------------------------
Microsoft Visual Studio
---------------------------
No exports were found that match the constraint:
    ContractName    Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
    RequiredTypeIdentity    Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
---------------------------
OK  
---------------------------


Solution:

 
I solved this problem by clearing Visual Studio Component Model Cache.

Just delete or rename this folder:

%AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
 
or

%AppData%\..\Local\Microsoft\VPDExpress\11.0\ComponentModelCache 
  For Visual Studio 2013, change the version number:

%AppData%\..\Local\Microsoft\VisualStudio\12.0\ComponentModelCache 
  Restart Visual Studio.

Hope this will help

UPDATE

Possible Location to Refer- C:\Users\uXXX12\AppData\Local\Microsoft\VisualStudio\11.0


 

No comments:

Post a Comment