I have been testing VS2022 in our on-prem agents but we've been having issues building a vs installers project on the new setup. I have installed the 2022 Microsoft Visual Studio Installer Projects.
This is the command we use to run the build:
&"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.com" "pathtovdproj.vdproj" /build sandbox
From the build logs I can see all projects build correctly, but the process does not exit and I have to cancel it.
2022-02-15T12:02:29.4130319Z ========== Build: 85 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
2022-02-16T08:56:19.7258571Z ##[error]The operation was canceled.
I believe this is usually due to the fact that out of process builds are enabled, but I've confirmed that EnableOutOfProcBuild under HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\17.0_91659449_Config\MSBuild is set to 0, so I'm not sure where to go from here
Any help would be appreciated.