没有为TypeScript编译器提供要编译的文件 [英] The TypeScript Compiler was given no files for compilation
问题描述
今天早上我加载了解决方案,它不再编译运行,昨天运行良好.
I load my solution up this morning, and it no longer compiles and runs, it was working fine yesterday.
现在有警告
"警告1没有为TypeScript编译器提供要编译的文件, 因此它将跳过编译. C:\ Program档案 (x86)\ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ TypeScript \ Microsoft.TypeScript.targets 95 5 MPinUniversal"
"Warning 1 The TypeScript Compiler was given no files for compilation, so it will skip compiling. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets 95 5 MPinUniversal"
由于某种原因,今天早上,Visual Studio说我的试用"许可证将在5天后到期,由于它不是试用版,所以很让人困惑,因此我再次登录,警告消失了,但是现在这了.不知道是否相关,但是我需要它来工作.
This morning for some reason Visual Studio said my "trial" license was going to expire in 5 days which is obsurd as it's not a trial copy, so I logged in again and the warning went away, but now this. No idea if it's related but I need this to work..
尼克.
推荐答案
好的错误警报,警告不是我的问题的原因,这是.java文件中的语法错误,由于我没有警告,所以发生了警告如建议的那样,仍然可以编译TypeScript文件.
Okay false alarm, the warning wasn't the cause of my problem, it was a syntax error in a .java file, the warning occurs as I have no TypeScript files to compile anyway, as it suggests.
这篇关于没有为TypeScript编译器提供要编译的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!