admin管理员组文章数量:1323716
In Visual Studio Professional 2013 when I created a new Apache Cordova project, get this warning:
Warning 1 The TypeScript Compiler was given no files for pilation, so it will skip piling.
Few weeks before it is working fine but now I am getting this error.
I re-install VS and Tool for Apache Cordova, but still getting this error.
How to solve this error? Any solution?
In Visual Studio Professional 2013 when I created a new Apache Cordova project, get this warning:
Warning 1 The TypeScript Compiler was given no files for pilation, so it will skip piling.
Few weeks before it is working fine but now I am getting this error.
I re-install VS and Tool for Apache Cordova, but still getting this error.
How to solve this error? Any solution?
Share Improve this question edited Apr 14, 2015 at 20:23 MMiroslav 1,76220 silver badges32 bronze badges asked Apr 14, 2015 at 19:45 Osama UsmaniOsama Usmani 511 silver badge3 bronze badges4 Answers
Reset to default 9To fix this warning !
- open your (your project name).csproj with texteditor tools ( NotePad , Editplus , etc.. )
remove this line..
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
save
- re open project.
hope this help !
To fix this warning you can remove the line in your .csproj
file or .jsproj
. You can just open this in your favorite text editor.
Offcourse if you plan to use Typescript in the future you can always add it back in the project file!
You need at least one file marked with the build action "TypeScriptCompile".
This will then be passed to the TypeScript piler for you. You only need to specify your "top level" file, as the piler will walk the dependencies for you.
(Tools>Options>Projects and Solutions>Build and Run>Set MSBuild project build output verbosity= Diagnostic
now you can see in console what fail!
本文标签:
版权声明:本文标题:javascript - Warning 1 The TypeScript Compiler was given no files for compilation, so it will skip compiling - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742125769a2421932.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论