Visual Studio 2022 tasks for Azure DevOps Server
This extension will install the
These tasks are installed side-by-side the original tasks
Required agent version
You will need to install a recent agent (2.195.0 or newer) from the azure-pipelines-agent repository for it to auto-detect Visual Studio 2022, or alternatively add the capabilities to the agent manually.
You may need to force Azure DevOps Server to not downgrade back to its preferred agent version. You can do so by setting the following environment variable at the system level on your server before launching the agent:
Replacing the built-in tasks
An extension is unable to replace the built-in tasks. This is a security feature of the marketplace. But it's possible to replace a task by uploading it directly to your Azure DevOps server.
You can find the latest version of the task and the scripts to overwrite the built-in tasks in this project's repository.