VS2022/Azure DevOps Pipeline - Installer project build does not return

Jan Biddle 21 Reputation points
2022-02-16T09:12:21.207+00:00

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.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,660 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-02-16T12:57:00.253+00:00

    The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.