将T4MVC与构建脚本一起使用

编程入门 行业动态 更新时间:2024-10-11 23:17:30
本文介绍了将T4MVC与构建脚本一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有人得到T4MVC作为构建脚本的一部分运行吗?最好是一个NAnt构建脚本.

Has anyone gotten T4MVC to run as part of a build script ? Preferably a NAnt build script.

我不想检入生成的文件,而只是让构建服务器将它们作为构建的一部分进行创建,但是T4MVC只在Visual Studio内部运行.

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.

我尝试过:

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

有人成功地找到了工作解决方案吗?

Has anyone successfully gotten a solution to work ?

推荐答案

我认为您将无法完成这项工作. T4MVC严重依赖于DTE对象模型,并且在外部不可用VS.

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.

更多推荐

将T4MVC与构建脚本一起使用

本文发布于:2023-11-17 09:11:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609573.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:脚本   T4MVC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!