简体   繁体   中英

TypeScript With Asp.net WebSite in VS2012

我已经为VS2012安装了TypeScript插件,并且能够将一个TypeScript文件(.ts)添加到Asp.Net Web应用程序项目中,并且在对csproj进行一些修改之后,它在构建时生成.js(Javascript)文件并且运行正常。现在我需要的是,将一个TypeScript文件添加到Asp.Net网站项目,因为模板不可用,我添加了一个.js文件并重命名为.ts文件并在那里编写了TypeScript代码,但在构建时它没有生成相应的。现在的问题是,如何在VS2012中使用TypeScript和Asp.Net网站

You're going to need to install the Visual Studio 2012 plugin, as detailed here . It appears different versions of VS require their own plugins.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM