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:
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!
Start the Visual Studio Installer, and verify that Help > About shows version 14.0. 25431 or greater. Examine the installed updates list in Control Panel, and verify that both Visual Studio 2015 update 3 (KB3022398) and the update for Microsoft Visual Studio 2015 (KB3165756) are present.
Visual Studio 2015 Update 3 includes Tools for Apache Cordova Update 10, including the improvements below. and Update 10. For the latest news about our tools, visit our Developer Blog on GitHub. We've added support for Cordova 6.1.
I solved this by:
Hope this helps somebody!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With