Visual Studio 2015: “tsc.exe” exited with code 1

后端 未结 2 1681
孤街浪徒
孤街浪徒 2021-02-07 09:25

I was formerly using Visual Studio 2013 for a web TypeScript project. Upgraded to Visual Studio 2015 Update 3, and when building the project, I get

\"tsc.exe\"          


        
相关标签:
2条回答
  • 2021-02-07 09:46

    You can probably fix this issue by installing TypeScript 2.1.5 using the following link:

    • Visual Studio 2015 TypeScript Tools (2.1.5 at the time of writing)

    This will also point MSBuild to the proper TypeScript build, which fully supports the --listEmittedFiles command switch (not supported in 1.x, hence the error).

    See also this answer and/or this article that I wrote on the topic for further details and references about this issue.

    0 讨论(0)
  • 2021-02-07 10:10

    I am using visual studio 2013. In my case in Web.csproj file, I replaced

    by

    I do not get this error now anymore.

    0 讨论(0)
提交回复
热议问题