文章出處
文章列表
如:我用的網上的生成多文件的一個include文件。 生成多文件時,默認會生成一個以自己名字命名的文件如: 有一個demo.tt文件,生成時會出來一個demo.cs文件(默認情況下)
解決方法: Found a trick/hack! <#@ output extension="/" #> or <#@ output extension="\\" #> Visual Studio 2012 neither outputs the default file, nor complains about its inability too much. P.S. I've tried it with T4MultiFile NuGet package, but it should work with T4Toolbox too, I think.
文章列表
全站熱搜