I updated to Visual Studio 2015 Update 3 this morning and in my main web solution I now get the following warning when I open it. I also get this warning when I open typescript files and I can no longer comment and uncomment code through the shortcut or toolbar. I also no longer have IntelliSense etc...
In the xml file it says the following:
<entry>
<record>851</record>
<time>2016/07/04 11:40:28.893</time>
<type>Error</type>
<source>VisualStudio</source>
<description>LegacySitePackage failed for package [Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptPackage, Microsoft.VisualStudio.LanguageServices.TypeScript, Version=14.0.0.0, Culture=neutral]Source: 'Microsoft.VisualStudio.LanguageServices.TypeScript' Description: Field not found: 'Microsoft.CodeAnalysis.Shared.Options.ServiceFeatureOnOffOptions.ClosedFileDiagnostic'.
System.MissingFieldException: Field not found: 'Microsoft.CodeAnalysis.Shared.Options.ServiceFeatureOnOffOptions.ClosedFileDiagnostic'.
 at Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptPackage.Initialize()
 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)</description>
<guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid>
<hr>80131511</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>852</record>
<time>2016/07/04 11:40:28.895</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptPackage, Microsoft.VisualStudio.LanguageServices.TypeScript, Version=14.0.0.0, Culture=neutral](null)</description>
<guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid>
<hr>80131511</hr>
<errorinfo></errorinfo>
</entry>
<entry>
What I have tried:
- Repairing Update 3
- Reinstalling TypeScript and removing older versions I had installed: https://www.microsoft.com/en-us/download/details.aspx?id=48593
- devenv.exe /updateconfiguration & devenv.exe /clearcache
- Deleting %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache
- Updating project typescript version to 1.8
- Setting path environment variable of typescript to 1.8 instead of 1.0
So now my Visual Studio tells me I have TypeScript version 1.8.30 installed.
But in my Programs and Features I only have verison 1.8.6.0 installed (which is the latest).
Only thing that is left to do is reinstall Visual Studio itself.
Any ideas, suggestions? Thanks!