MSBuild task to execute an external MSBuild file
Posted
by Slace
on Stack Overflow
See other posts from Stack Overflow
or by Slace
Published on 2009-10-01T04:47:31Z
Indexed on
2010/04/16
7:33 UTC
Read the original article
Hit count: 1087
msbuild
I'm trying to set up a MSBuild file which will invoke another MSBuild file and I'm wondering what's the best way to achieve this.
We're using it in the scenario of where a build server downloads a MSBuild file which then depending on the parameters it'll execute the appropriate 2nd file.
I know I can just use the <Exec Command="msbuild.exe ..." />
task, but that seems to be a bit of a hacky way to do it.
Is there an easier way to use MSBuild to execute another MSBuild file?
© Stack Overflow or respective owner