tag:blogger.com,1999:blog-4063545436138319205.post8190054548838667524..comments2024-03-28T04:24:36.271-07:00Comments on Tom DuPont .NET: TypeScript on your Build ServerTom DuPonthttp://www.blogger.com/profile/08233783264428691459noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4063545436138319205.post-32264359188438363892014-05-01T08:18:22.881-07:002014-05-01T08:18:22.881-07:00My next post will be about using TypeScript with t...My next post will be about using TypeScript with the BundleTransformer, so stay tuned!Tom DuPonthttps://www.blogger.com/profile/08233783264428691459noreply@blogger.comtag:blogger.com,1999:blog-4063545436138319205.post-1245986120088970702014-05-01T05:27:43.833-07:002014-05-01T05:27:43.833-07:00Thanks for this, was helpful, been trying to sort ...Thanks for this, was helpful, been trying to sort out BundleTransformer to compile ts on the fly but this is a good stopgapAnonymoushttps://www.blogger.com/profile/00651108358845555553noreply@blogger.comtag:blogger.com,1999:blog-4063545436138319205.post-28406791861786205032014-04-03T03:35:21.343-07:002014-04-03T03:35:21.343-07:00Hello,
I also had to add the tag TypeScriptToolsV...Hello,<br /><br />I also had to add the tag TypeScriptToolsVersion in my csproj. Otherwise the hosted build controller on visual studio online complained about a wrong TypeScript compiler.Anonymoushttps://www.blogger.com/profile/17464160972703543296noreply@blogger.comtag:blogger.com,1999:blog-4063545436138319205.post-74611180512349718812014-02-21T05:03:35.800-08:002014-02-21T05:03:35.800-08:00Hi, Tom. Thanks for this -- this makes a great dea...Hi, Tom. Thanks for this -- this makes a great deal of sense, and I'm checking in v0.9.5 into source control now ;)<br /><br />One possible simplification to the process is around step 6, modifying the .targets file. Don't set the TscToolPath here, but instead do it in the .csproj file in step 8, and include a new PropertyGroup with a single TscToolPath element.<br /><br />The .targets file only sets TscToolPath if it's currently unset, so setting it in the CSPROJ file means that, when you come to upgrade the compiler version, you shouldn't have as many edits to do.<br /><br />I've created a gist of the MSBUILD fragment;<br /><br />https://gist.github.com/stevecooperorg/9133861Steve Cooperhttps://www.blogger.com/profile/14665122745993858091noreply@blogger.com