When loading an existing universal Windows App solution, I noticed that the shred project failed to load in Visual Studio 2013. When creating a new one, I ran into an error as shown below.

No exports were found that match the constraint:
ContractName    Microsoft.VisualStudio.Text.ITextDocumentFactoryService
RequiredTypeIdentity    Microsoft.VisualStudio.Text.ITextDocumentFactoryService

Step 1:Open this address C:\Users\admin\AppData\Local\Microsoft\VisualStudio\12.0

Step 2: Delete ComponentModelCache folder (Close visual studio IDE before delete this folder)

Advertisements