Skip to content

TypeScript Tools for VS 2015 2.0.2.0 Beta not working (on Windows Server 2012??) #11110

@TianCNCA

Description

@TianCNCA

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 #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueHigh Priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions