-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for VS 2022 to the VSBuild and any related tasks #15051
Comments
This ticket will need to be closed when the issue is fixed. |
Is this fixed in Azure Pipelines Agent v2.191.1? I see the referenced PR is merged into releases/m191 but I'm not sure where it goes from there. I don't see it in the Azure Pipelines Agent release notes https://github.com/microsoft/azure-pipelines-agent/releases |
@krokofant the relevant fix is currently on deployment - we will let you know once it's available. |
Which version of Azure DevOps Server is expected to have the updated tasks with VS2022 support? I.e. with .NET 6 support being in VS2022? |
Hi, @japj, @krokofant |
@AnnaOpareva, @japj, @krokofant how do I get the updated VSBuild Task when using Azure Dev Ops Server 2020.1 or Azure Dev Ops Server 2019 on premises? And are the nuget restore and test tasks also updated to use the latest vs (2022)? Will this task be deployed via AzureDevOps Server Update or via azure-pipelines-agent update (it seems the latest version of the pipeline agents does not have the fix included: https://github.com/microsoft/azure-pipelines-agent/releases/tag/v2.193.1) |
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Feature
Enter Task Name: VSBuild
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises?
If using TFS on-premises, provide the version:
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private:
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version:
Issue Description
The Developer Division at Microsoft is working on Visual Studio 2022 which is currently in Preview. In order to enable dogfooding scenarios (and customer scenarios once VS 2022 ships) we need the VSBuild task to support the use of VS 2022.
Task logs
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
Small snippet of current behavior:
2021-06-17T20:57:07.9214251Z ##[command]"D:\AzDO_work_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.187.0\ps_modules\MSBuildHelpers\vswhere.exe" -version [16.0,17.0) -latest -format json
2021-06-17T20:57:08.0634353Z ##[command]"D:\AzDO_work_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.187.0\ps_modules\MSBuildHelpers\vswhere.exe" -version [16.0,17.0) -products Microsoft.VisualStudio.Product.BuildTools -latest -format json
2021-06-17T20:57:08.1007136Z ##[command]"D:\AzDO_work_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.187.0\ps_modules\MSBuildHelpers\vswhere.exe" -version [15.0,16.0) -latest -format json
2021-06-17T20:57:08.1280187Z ##[command]"D:\AzDO_work_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.187.0\ps_modules\MSBuildHelpers\vswhere.exe" -version [15.0,16.0) -products Microsoft.VisualStudio.Product.BuildTools -latest -format json
##[warning]Visual Studio was not found. Try installing a supported version of Visual Studio. See the task definition for a list of supported versions.
##[warning]Unable to find MSBuild version '14.0' for architecture 'x86'. Falling back to version '4.0'.
The text was updated successfully, but these errors were encountered: