禁用C#使用TypeScript项目进行编译 [英] Disable C# Compiling with TypeScript Projects

查看:139
本文介绍了禁用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项目进行编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆