Is there a way to get Visual Studio to run “Transform All Templates” upon a successful build?

匆匆过客 提交于 2019-12-05 18:23:49

I've not really tried it myself but I think you want to look into this. You should be able to modify your project files to achieve what you want.

An easier solution may be to modify your templates A LA the T4 MVC templates so that they automatically mark themselves as dirty on build (check the docs page and search for AlwaysKeepTemplateDirty for details). You could probably edit your templates to have them do the same thing.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!