scripts/Windows/install_vdproj_vs2019.ps1
Write-Host "Installing Visual Studio Installer Projects 2019..." -ForegroundColor Cyan Write-Host "Downloading..." $vsixPath = "$($env:TEMP)\InstallerProjects.vsix" (New-Object Net.WebClient).DownloadFile('https://visualstudioclient.gallerycdn.vsassets.io/extensions/visualstudioclient/microsoftvisualstudio2017installerprojects/0.9.8/1588102164123/InstallerProjects.vsix', $vsixPath) Write-Host "Installing..." $vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Community" if (-not (Test-Path $vsPath)) { $vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Preview" } Start-Process "$vsPath\Common7\IDE\VSIXInstaller.exe" "/q /a $vsixPath" -Wait Remove-Item $vsixPath -Force -ErrorAction Ignore # Enable VDPROJ support in the Registry Push-Location "$vsPath\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild" & .\DisableOutOfProcBuild.exe Pop-Location Write-Host "Installed" -ForegroundColor Green |