开发者

How to change the default MVC T4 Template location?

开发者 https://www.devze.com 2023-03-19 05:52 出处:网络
I know the templates are in : [Visual Studio In开发者_开发技巧stall Directory]\\Common7\\IDE\\ItemTemplates[CSharp | VisualBasic]\\Web\\MVC\\CodeTemplates\\

I know the templates are in : [Visual Studio In开发者_开发技巧stall Directory]\Common7\IDE\ItemTemplates[CSharp | VisualBasic]\Web\MVC\CodeTemplates\

And I know I can just simply copy the CodeTemplates folder into the root of the project to override the plates.

I would like to know if it is possible to simply change the default template directory eg change it to: [shared drive]\Visual Studio templates\CodeTemplates


This might be what you're looking for http://blogs.msdn.com/b/webdevtools/archive/2009/01/29/t4-templates-a-quick-start-guide-for-asp-net-mvc-developers.aspx

0

精彩评论

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