Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
474 views
in Technique[技术] by (71.8m points)

model view controller - Using T4MVC with build script

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

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:

Has anyone successfully gotten a solution to work ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...