I'm facing a problem where I can't open .cs files in Visual Studio 2013 after one day.
It started on Monday: I opened an existing solution and tried to open the Program.cs file but instead was met with the following error message (rough translation):
No exports were found that meet the constraint:
ContractName
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
RequiredTypeIdentity
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
I tried opening .cs files in different solutions and always got the same message. The only exception being: Any Visual Studio instance that was opened before the Visual Studio instance in which the exception first occured was/is not affected by this.
I managed to get it working by choosing to repair the Visual Studio installation and rebooting but that only worked until the next day.
I tried searching for that message but got nothing so far.