开发者

Using T4MVC with build script

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜