Skip to content

Conversation

@tmds
Copy link
Member

@tmds tmds commented Sep 30, 2025

This adds the fix for dotnet/msbuild#12570 to the 10.0.1xx branch.

@rainersigwald @YuliiaKovalova @ViktorHofer ptal.

cc @medhatiwari @giritrivedi

#2716 tracks removing this patch.

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a TODO to the commit message pointing to an issue that tracks removing this patch.

@tmds
Copy link
Member Author

tmds commented Oct 2, 2025

I assume the TODO should be an issue that includes:

  • releasing MSBuildLocator (1.8.2?) that includes the patch
  • have it used by all dotnet repos
  • let externalPackages use that version and remove the patch

Should that issue be created in the msbuild repo?

@ViktorHofer
Copy link
Member

Yes, exactly that. The issue can live in the VMR as the update will probably also be done here as it touches multiple repos.

@rainersigwald
Copy link
Member

@YuliiaKovalova is currently fighting the Locator official build, which seems to have developed some problems since it last ran (naturally 🙃).

@tmds
Copy link
Member Author

tmds commented Oct 3, 2025

@ViktorHofer I've created #2716 and referenced it in the top-level comment of this PR. Do I need to update the commit message as well, or is this good to merge?

@ViktorHofer
Copy link
Member

@rainersigwald assuming this is ask-mode can someone on your side please handle the request?

@YuliiaKovalova
Copy link
Member

@tmds the package with the fix has been released: dotnet add package Microsoft.Build.Locator --version 1.10.2

@tmds
Copy link
Member Author

tmds commented Oct 6, 2025

assuming this is ask-mode can someone on your side please handle the request?

@YuliiaKovalova @rainersigwald are you looking into this?

@ViktorHofer
Copy link
Member

@tmds given that the package is already released do you want to handle the update? (in this PR ideally)

@tmds
Copy link
Member Author

tmds commented Oct 6, 2025

For awareness: 1.10.2 includes some additional changes that have only been recently made to MSBuildLocator: https://github.com/microsoft/MSBuildLocator/commits/v1.10.2/.

I'll update the PR to use it.

@tmds
Copy link
Member Author

tmds commented Oct 6, 2025

in this PR ideally

I'm not sure what to do.

MSBuildLocator in a submodule in https://github.com/dotnet/source-build-reference-packages/tree/main/src/externalPackages/src and in this repo it exist as source files.

@tmds
Copy link
Member Author

tmds commented Oct 6, 2025

@ViktorHofer if the intent is to change the MSBuildLocator for .NET 10.0.0 to the v1.10.2, then I think it's simplest if we close this PR and let @YuliiaKovalova and @rainersigwald handle that.

@ViktorHofer
Copy link
Member

The submodule needs to be updated in https://github.com/dotnet/source-build-reference-packages and the change then flows into the VMR automatically. In that SBRP -> VMR PR we can then update the rest of the stack. Just sharing for whoever wants to make the update.

@tmds
Copy link
Member Author

tmds commented Oct 6, 2025

assuming this is ask-mode can someone on your side please handle the request?

This question is still open.

Just sharing for whoever wants to make the update.

Let me know if it is helpful for me to do this. I don't want to be in the way.

@ViktorHofer
Copy link
Member

Let me know if it is helpful for me to do this. I don't want to be in the way.

I don't think anyone is assigned to this work, yet. If you want to help, that would be appreciated :)

This version provides a fix for crashing on Mono (dotnet/msbuild#12570).
@tmds tmds force-pushed the msbuildloc_mono branch from c6ef39a to 4c38210 Compare October 6, 2025 12:17
@tmds
Copy link
Member Author

tmds commented Oct 6, 2025

I've updated this PR to set the version to v1.10.2 in various dotnet repos (as used by the Microsoft build).
dotnet/source-build-reference-packages#1399 is for updating the version used by source-build.

This PR is currently targeting release/10.0.1xx. The source-build-reference-packages PR is targeting release/10.0.

@tmds
Copy link
Member Author

tmds commented Oct 10, 2025

Part of #2802.

@tmds tmds closed this Oct 10, 2025
@dotnet-policy-service dotnet-policy-service bot requested review from a team October 10, 2025 07:16
@dotnet-policy-service dotnet-policy-service bot requested review from a team October 10, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants