I am building vdproj with devenv. Command runs without errors, but no output with .msi files is generated, what am I doing wrong?
devenv "C:\Projects\MyProj\Main\Src\MyProj\MyProj.sln"
/build "'PRO VERSION|Mixed Platforms'"
/project "C:\Projects\MyProj\Main\Src\MyProj\MyProj.Setup\MyProj.Setup.vdproj"
/projectconfig "'PRO VERSION|Mixed Platforms'"
I am running it against Visual Studio 14.0/Common7/IDE/devenv
I was able to make it working by adding the following registry value:
Try
{
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\VisualStudio\14.0_Config\MSBuild\" -Name "EnableOutOfProcBuild" -Value 00000000 -PropertyType DWORD -Force | Out-Null
}
Catch
{
$ErrorMessage2 = $_.Exception.Message
"ERROR adding 'EnableOutOfProcBuild' registry value, error: $ErrorMessage2"
}
and then running following:
$devenv = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv";
$config = "$ConfigurationMode|$Platform";
& $devenv ($SolutionPath, "/project", $SetupProjectPath, "/build", "$config")