Why is the Typescript settings tab missing in my VS 2013 ASP.NET project properties?

后端 未结 7 1588
[愿得一人]
[愿得一人] 2021-01-01 23:54

I\'m trying to migrate some javascript files to Typescript in a legacy ASP.NET MVC 5 project. I I\'ve created a Typescript file and the compilation from TS to JS works as ex

7条回答
  •  佛祖请我去吃肉
    2021-01-02 00:29

    To ensure you get the correct settings in your Visual Studio project file:

    1. Add a temp.ts file to your project via Visual Studio and save it (you may get a dialogue about Visual Studio looking up TypeScript types)

    2. Your project file should have updated. Save it.

    3. Close the solution and re-open it.

    4. TypeScript Build Tab should be in the project properties.

    5. Delete the temp.ts file.

    (I derived this from Eric D. Johnson's comment here):

    https://developercommunity.visualstudio.com/content/problem/98916/typescript-build-tab-not-showing-in-project-proper.html

提交回复
热议问题