How to use VS 2015 MSBuild to build .vdproj

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

<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, VSI is an extension vs. And a similar command (9.0 => 14.0) will get an error.

Does anyone know how to solve it?

+6
source share
2 answers

I solved this problem by changing the DWORD value for

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

registry value is 0.

If this does not exist, you can create it as a DWORD.

+5
source

All Articles