We have a build agent (a self hosted buildserver) which apparently satisfies msbuild, but not visualstudio so we tried to install vs.
I installed vs2022 community on the server and restarted.
Still those mails comes when a change is detected in the repository.
No agent found in pool XXX which satisfies the following demand: visualstudio. All demands: msbuild, visualstudio, Agent.Version -gtVersion 2.192.0
Is community not an option?
CodePudding user response:
Azure DevOps Server 2020 and below only officially supports Visual Studio 2019 and below for the tasks and the agent version it ships with. The latest agent version for Azure DevOps (Service) has the right updated scripts in the Capability Providers.
In case this is on an Azure DevOps Server and want to use Visual Studio 2022 / .NET 6, you need to: