TypeScript: TypeScript Tools for VS 2015 2.0.2.0 Beta not working (on Windows Server 2012??)
TypeScript Version: 2.0.2.0
I was using VS2015 Update 3 with the built-in TypeScript tool, version 1.8.6 succesfully.
Today I tried to upgrade it using TypeScript Tools for VS 2015 2.0.2.0 Beta. After installing the tools successfully, there’s no more auto-completion in VS (the syntax highlight is still there). And the Build command exits with error.
I decided to roll back to 1.8.6 so I uninstalled 2.0.2.0 Beta. I checked that the TypeScript folder under C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft
and C:\Program Files (x86)\Microsoft SDKs
are gone. But executing the TypeScript_Dev14Full.exe (1.8 version) doesn’t recreate those folders again.
So I had to switch back to 2.0 again. I installed it once again. Now after opening my TypeScript project there is even no syntax highlighting, not to mention auto completion and Build, and upon open project properties it shows
An error occurred trying to load the page.
No exports were found that match the constraint:
ContractName Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
RequiredTypeIdentity Microsoft.CodeAnalysis.Editor.TypeScript.ScriptContexts.ITypeScriptProjectProvider
I’ve been Googling for hours but I haven’t found any workable solutions. One of the issues I found at https://github.com/Microsoft/TypeScript/issues/7519 bears the most similar symptoms and it suggests delete the %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache
folder. I did that and it did not work and it shows a message saying ‘An exception has been encountered. This may be caused by an extension.’ and it asks me to check the ActivityLog.xml
ActivityLog.txt here is the txt version since github doesn’t support xml. Please take a look if it’s helpful.
I haven’t seen any other posts that describe situations similar to mine.
Please help.
Expected behavior: TypeScript Tools for VS 2015 2.0.2.0 Beta work properly.
Actual behavior: It does not. See descriptions above.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (11 by maintainers)
I had these issues with VS2015 update 3 (as listed by @deadZedd ) and typescript 2.0.6, repairing VS and reinstalling typescript was not enough.
I did the steps suggested by @paulvanbrenk (see issue #7519) and had success… coloring, intellisense, auto format/indentation and completion works again.
Had the same issue after upgrading from 1.8 to 2.0 (VS2015 U3, Win10):
Solution:
(and i notice that some have the same problem on the announcement page)
We have traced this back to Chakra issue on some OS’s. we are following up on this and should have an update shortly.