Visual Studio 2015 RTM - Lost JavaScript support after update TypeScript Tools

后端 未结 3 1070
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 11:00

I have lost the support for JavaScript files inside Visual Studio 2015 after updating the TypeScript tools from version 1.5.3 to 1.5.4.

By support for JavaScript I m

3条回答
  •  半阙折子戏
    2020-11-30 11:32

    Found a workaround to rollback to TypeScript 1.5.3 and get back support for JS:

    1. From Programs and Features, uninstall TypeScript Tools 1.5.4 and Microsoft Asp.Net and Web Tools 2015
    2. Download VS 2015 offline installer (Reference: How to install VS2015 Community Edition offline)
    3. Inside the download directory from step 2, navigate to "packages\WPT" and install "webtoolsextensionsvs14.msi" (Microsoft Asp.Net and Web Tools 2015)
    4. Then navigate to the folder (inside the download directory) "OfflineCache\installers". You will see two TS folders: "TypeScriptV1" and "TypeScriptV2". They are the installers for the versions 1.5.3 and 1.5.4 respectively.
    5. Install TypeScript Tools 1.5.3 (using the installer inside the folder "TypeScriptV1")

    Now, start Visual Studio. At this point JavaScript support should be back, and TS support still available.

    NOTE: there is no independent installer for TypeScript Tools for VS 2015 (Reference: Typescript 1.5 for VS2015 without internet access)

    UPDATE:

    As Mohamed Hegazy noted, the TypeScript installers are available to download on: TypeScript for Visual Studio 2015

提交回复
热议问题