禁用C#使用TypeScript项目进行编译

编程入门 行业动态 更新时间:2024-10-25 06:29:12
本文介绍了禁用C#使用TypeScript项目进行编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在VS2013中使用新的TypeScript项目。 I有一些项目是100%类型的脚本。我只能让TypeScript编译器在各种类型的.Net Web项目中运行。 但是这些项目大部分都没有.Net代码。它们是可重复使用的TypeScript基础结构项目。 我的问题是我看到了相当大的编译开销,因为项目都在创建和输出.Net DLL文件bin文件夹。 我正在寻找的是禁用C#的编译或新的项目类型,它是100%TypeScript,没有.Net编译作为构建过程。 我尝试将TS文件添加到许多通用的空项目中,但这些项目不管理添加TS项目设置或编译TS文件。 看来我浪费了很多时间等待无意义的.Net文件进行编译,我希望自己更有效率。 我很欣赏TypeScript仍处于起步阶段,但我们非常感谢任何意见/建议。 问候 Steve

Hi, I'm working with a new TypeScript project in VS2013. I have a number of project which are 100% type script. I can only get the TypeScript compiler to run within the various types of .Net web projects. But most of these project will have no .Net code. They're reusable TypeScript infrastructure projects. My problem is I'm seeing quite a large compilation overhead as the project are all creating and outputting .Net DLL files in the bin folder. What I'm looking for is to disable the compilation of C# or a new project type which is 100% TypeScript with no .Net compilation as part of the build process. I've tried adding TS files to a number of generic empty projects but these do not manage adding the TS project settings or compiling the TS files. It seems I'm wasting a lot of my day waiting for pointless .Net files to compile and I'd like to be a bit more efficient. I appreciate TypeScript is still in its infancy but any advice/suggestions would be much appreciated. Regards Steve

推荐答案

更多推荐

禁用C#使用TypeScript项目进行编译

本文发布于:2023-11-13 23:46:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1585642.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   TypeScript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!