DotNetCore 6 and 7 tasks for Azure DevOps Server
This extension will install the DotNetCore tasks with support for DotNetCore 6 and 7 into your Azure DevOps Server.
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.