Error in Microsoft Visual Studio 2012 :No exports were found that match the constraint

后端 未结 3 1470
花落未央
花落未央 2021-01-31 07:23

When I opened my Project in VS2012 , I got an error

No exports were found that match the constraint:

ContractName
Microsoft.VisualStudio.Utilit

3条回答
  •  走了就别回头了
    2021-01-31 07:55

    I encountered similar issue and found this solution like magic. The steps go here:

    • Delete ComponentModelCache folder from below location:

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

    • Make it sure to replace with your real user name on your pc.

    • Once deleted, recreate the folder with same name "ComponentModelCache".

    • In case, it gives any permissions issue, deleting the remaining files/folders one by one can work well.

    The error is no more there when you try to create a project in visual studio.

提交回复
热议问题