【问题标题】:TypeScript 1.4 compiler throwing error when compiling in release modeTypeScript 1.4 编译器在发布模式下编译时抛出错误
【发布时间】:2015-05-05 03:52:55
【问题描述】:

我在 Visual Studio 2013 中使用 TypeScript 1.4 做一些简单的教程,当我在 debug 中编译时一切正常。当我尝试在 release 中编译时,我得到:

命令 "tsctrue "C:\Users\dluther\Downloads\typescript\materials\2-typescript-m2-exercise-files\Code\Before\TypeScriptTypes\TypeScriptTypes\app.ts" "C:\Users\dluther\Downloads\typescript\materials\2-typescript-m2-exercise-files\Code\Before\TypeScriptTypes\TypeScriptTypes\Scripts\02-05-primitives.ts"" 以代码 9009 退出。

在我的 .csproj 文件中,我有这个:

目标>

【问题讨论】:

    标签: visual-studio-2013 typescript1.4


    【解决方案1】:

    原来我的项目文件中没有这个(我必须手动添加):

    --sourcemap属性组>

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-09
      • 1970-01-01
      • 1970-01-01
      • 2017-07-14
      • 1970-01-01
      相关资源
      最近更新 更多