-
Notifications
You must be signed in to change notification settings - Fork 232
MSBuildLocator: add fix for MarshalDirectiveException that gets thrown on Mono. #2675
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
Conversation
ViktorHofer
left a comment
There was a problem hiding this 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.
|
I assume the TODO should be an issue that includes:
Should that issue be created in the msbuild repo? |
|
Yes, exactly that. The issue can live in the VMR as the update will probably also be done here as it touches multiple repos. |
|
@YuliiaKovalova is currently fighting the Locator official build, which seems to have developed some problems since it last ran (naturally 🙃). |
|
@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? |
|
@rainersigwald assuming this is ask-mode can someone on your side please handle the request? |
|
@tmds the package with the fix has been released: dotnet add package Microsoft.Build.Locator --version 1.10.2 |
@YuliiaKovalova @rainersigwald are you looking into this? |
|
@tmds given that the package is already released do you want to handle the update? (in this PR ideally) |
|
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. |
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. |
|
@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. |
|
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. |
This question is still open.
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).
|
I've updated this PR to set the version to v1.10.2 in various dotnet repos (as used by the Microsoft build). This PR is currently targeting release/10.0.1xx. The source-build-reference-packages PR is targeting release/10.0. |
|
Part of #2802. |
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.