Skip to content

Conversation

@sanjays-ms
Copy link
Contributor

@sanjays-ms sanjays-ms commented Nov 17, 2025

Description

AB#2335263
microsoft/azure-pipelines-tasks#21319

Related Task PR: microsoft/azure-pipelines-tasks#21476


Package Name

msbuildhelpers, packagingcommon (nuget)


Risk Assessment (Low / Medium / High)

Low_


Unit Tests Added or Updated

  • Unit tests added or updated
  • Manual tests performed

Additional Testing Performed

Tested through self hosted image with new Visual studio and msbuild installed internal pipeline
Microsoft hosted images don't have latest versions of MSBuild yet


Documentation Changes Required (Yes / No)

Indicate whether related documentation needs to be updated. Provide links to the updated documentation if applicable.


Dependencies

List any dependencies introduced or updated in this PR.


Checklist


@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms sanjays-ms marked this pull request as ready for review November 18, 2025 10:16
@sanjays-ms sanjays-ms requested review from a team and tarunramsinghani as code owners November 18, 2025 10:16
@ToreDemant
Copy link

@andysterland andysterland mentioned this pull request Nov 19, 2025
4 tasks
@ToreDemant
Copy link

What about the NuGetToolGetter.ts - that seems to need changes too: https://github.com/microsoft/azure-pipelines-tasks-common-packages/pull/506/files#diff-9172623af284a064a00dde0009d7ff5c88aa6930b7c4a24c391127058b2410dc

@andysterland this one is missing compared to your proposed changes - do you recon it is needed here too?

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

@sanjays-ms what about the Visual Studio handling in NuGetToolGetter.ts: https://github.com/microsoft/azure-pipelines-tasks-common-packages/blob/main/common-npm-packages/packaging-common/nuget/NuGetToolGetter.ts#L154

This PR focuses solely on the MSBuild task, and the file NuGetToolGetter.ts is not a dependency for this task.
Updates for other tasks, such as VSBuild, Nuget, or Dotnet, will be addressed in upcoming PRs.
If it's necessary to update that file for other tasks, those changes will be included in upcoming PRs.

@ToreDemant
Copy link

@sanjays-ms The title of this PR is Include support for MSBuild version 18 and the function in NuGetToolGetter.ts is called getMSBuildVersionString - it sounds somewhat connected.

It also seems to be the only remaining msbuild fix in azure-pipelines-tasks-common-packages, which is why I am trying to get in included, so there does not have to be one more change for the same done later.

@sanjays-ms
Copy link
Contributor Author

@sanjays-ms The title of this PR is Include support for MSBuild version 18 and the function in NuGetToolGetter.ts is called getMSBuildVersionString - it sounds somewhat connected.

It also seems to be the only remaining msbuild fix in azure-pipelines-tasks-common-packages, which is why I am trying to get in included, so there does not have to be one more change for the same done later.

Sure, will check needed changes to Nuget related tasks as well and add it to this same PR
Thank you for the feedback
Apologies about the title initial intention was to create PRs task wise and initially this PR was for MSBuildV1 task only but will check all related changes to other tasks as well and make needed changes for new version of MSBuild.

@sanjays-ms sanjays-ms requested a review from a team as a code owner November 21, 2025 07:39
@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjays-ms sanjays-ms merged commit 6587531 into main Nov 26, 2025
9 checks passed
@sanjays-ms sanjays-ms deleted the users/v-sanjayse/WI2335263-update-msbuildhelpers branch November 26, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants