-
Notifications
You must be signed in to change notification settings - Fork 66
Update MSBuildLocator submodule to v1.10.2. #1399
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
Two updates are necessary:
|
I've made the requested changes. |
CI isn't passing because both this PR and dotnet/dotnet#2675 are needed together. |
Ah, nvmd, I need to move the patch here. |
This version provides a fix for crashing on Mono (dotnet/msbuild#12570).
Looks like another patch also needs an update: 0003-Remove-MicroBuild-signing.patch |
src/externalPackages/patches/MSBuildLocator/0003-Remove-MicroBuild-signing.patch
Show resolved
Hide resolved
@YuliiaKovalova before the next release we should change MSBuildLocator to make these patches unnecessary (by checking for sourcebuild conditions). |
@ViktorHofer build failure is:
I'm going to see what happens when I target net10.0 instead of 8.0. |
@tmds as far as I'm aware, MSBuildLocator needs to stay on net8.0. @MichaelSimons @mthalman any idea why that submodule needs the 8.0.20 runtime version? Is the submodule building with the same SDK as the other submodules? |
I'm not aware of any requirement for that. That may have been a thing in the past when we had repo-level prebuilt detection but that's not around anymore.
That's because that's the latest runtime version associated with the net8.0 TFM so that's what it targets by default. I don't know what particular thing causes that package name to be restored though.
Yes. |
I just checked and you are right, all projects that consume this in the source-build graph target the latest TFM. That said, a goal is to keep the differences between the SB builds and MSFT or external packages as small as possible. Having a net10.0 TFM in SB but net8.0 from the upstream package could result in differences. I let you folks decide whether that's a reason to make net8.0 work or not. |
|
I don't have strong opinions on the SBRP side, but MSBuildLocator should certainly work fine compiled against net10, so if that smooths things over no objection from me. |
The version that gets compiled with source-only .NET 10 will run on the .NET 10 runtime, so except if |
This version provides a fix for crashing on Mono (dotnet/msbuild#12570).