MSBuild Build Sequence

Posted by pm_2 on Stack Overflow See other posts from Stack Overflow or by pm_2
Published on 2010-06-07T17:58:14Z Indexed on 2010/06/07 18:02 UTC
Read the original article Hit count: 441

Filed under:
|

I got this from here.

<ItemGroup>
    <SolutionToBuild Include="$(SolutionRoot)\path\MySolution.sln />
    <SolutionToBuild Include="$(SolutionRoot)\Scribble\scribble.sln" />
    <SolutionToBuild Include="$(SolutionRoot)\HelloWorld\HelloWorld.sln" />
    <SolutionToBuild Include="$(SolutionRoot)\TestProject1\TestProject1.sln" />
</ItemGroup>

It says that the sequence of the build is determined by the order above. So, for example, MySolution would be built before scribble. However, is this safe if scribble is dependant on MySolution? If MySolution and scribble are changed simultaneously, will the build wait for MySolution to be completely compiled before moving to the next project?

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about msbuild-task