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

后端 未结 7 1496
[愿得一人]
[愿得一人] 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:15

    If your csproj has

    Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersi>on)\TypeScript\Microsoft.TypeScript.targets" >Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualS>tudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />

    and still you have issue.

    Do the below things:

    1. Add a new typescript file in the project.
    2. Build the solution.
    3. Close and start the Visual Studio, Open the project.
    4. Check the Typescript Tab in the project properties.

提交回复
热议问题