开发者

Using T4MVC with build script

开发者 https://www.devze.com 2023-02-17 20:25 出处:网络
Has anyone gotten T4MVC to run as part of a build script ? Preferably a NAnt build script.开发者_JS百科

Has anyone gotten T4MVC to run as part of a build script ? Preferably a NAnt build script.开发者_JS百科

I'd like to not have to check in the generated files and just have the build server create them as part of the build, but T4MVC will only run inside of Visual Studio.

I've tried:

  • http://devtalk.dk/2010/03/11/How+To+Run+T4MVC+On+Build.aspx
  • http://otac0n.com/blog/2010/12/23/Pain-Free-T4MVC.aspx

Has anyone successfully gotten a solution to work ?


I don't think you'll be able to make this work. T4MVC relies heavily on the DTE object model, and that simply is not available outside of VS.

0

精彩评论

暂无评论...
验证码 换一张
取 消