MSBuild opens a new instance of Visual Studio

479 views Asked by At

We have been using Visual studio 2010 - 2013 on the build server using the following MSBuild command so far:

Set msBuilder=%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

However recently we moved to VS 2015, and had to uninstall all other VS versions (for saving space), and used the following build location (partially also to cater compilation of C# 6.0 features):

Set msBuilder =%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe

This seems to work for most of the VS Solutions we have,however for one particular VS solution, when we execute this line:

Set doSolutionBuild=%msBuilder% MySolution.sln /t:clean;Build /p:Configuration=Release;Architecture=x86;Platform=x86 /v:n

it opens and instance of VS 2015 of the same project on the build server and the build process just hangs there in the command prompt.

Can anyone explain how we could resolve this?

0

There are 0 answers