Ages ago when I was a java developer I could make separate ant scripts that I would call from my main ant script. I would put properties unique to each environment where my main script would run. I want to do the same thing in MSBuild but I can't find out how to chain MSBuild scripts together.
+3
A:
You need to Import them.
<Import Project="MyTargets" Condition="Exists('MyTargets')"/>
Scott Dorman
2008-11-06 17:10:35
+1
A:
The import is definitely useful, you can also actively invoke other projects:
<MSBuild Projects="Other.proj" Properties="SomeProp=$(MyProperty)" />
Cristian Libardo
2008-11-06 17:18:14