简体   繁体   中英

Visual Studio 2022 not showing up in the dropdown

We have on-prem Azure DevOps 2020 installed. We built a .net core 6 app in Visual Studio 2022. However, when creating the build pipeline, VS 2022 is not showing up in the dropdown.

Has anyone faced this problem? Is MSFT supposed to release a patch that will start displaying VS 2022 in the dropdown?

在此处输入图像描述

Many people are running into this. No word from MS yet on when or if an update will be available. But these articles may help you find a workaround:

FWIW, I'm working around it by using an explicit MSBuild path as mentioned in this answer . I added a PreferredMSBuildExePath variable to my pipeline and set it equal to %ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe . Then I made all my MSBuild steps use $(PreferredMSBuildExePath) as their MSBuild path under Specify Location. I also converted all my Visual Studio steps to MSBuild steps so I could use this explicit path variable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM