Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use VS 2015 MSBuild to build .vdproj

With VS 2010 or 2013, We can use this command to build .vdproj project(VSI):

<Exec Command="&quot;$(ProgramFiles)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com&quot; your.vdproj /build &quot;Debug|AnyCPU&quot;"/>

But in vs 2015, the VSI is an extension of vs. And the similar command(9.0 => 14.0) will get an error.

Anybody know how to solve it?

like image 377
Chris Shao Avatar asked Dec 10 '15 08:12

Chris Shao


1 Answers

I solved this problem by change the DWORD value for

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\MSBuild\EnableOutOfProcBuild

registry value to 0.

If this doesn't exist you can create it as a DWORD.

like image 110
Chris Shao Avatar answered Oct 25 '22 05:10

Chris Shao