-
Notifications
You must be signed in to change notification settings - Fork 133
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
6.0 SDK diff: unnecessary files redisted in dotnet-format
dir already present in shared fx
#2583
Comments
It looks like these are all coming in because my build uses a 6.0.0-rc2 SDK to build, but dotnet/format has transitive references to 6.0.0 dotnet/runtime packages. This makes
This should go away either:
Something I'm not sure of is why this behavior doesn't repro in the Microsoft build. /cc @eerhardt |
Nice analysis, @dagood. That makes sense that we have locally built NuGet packages with newer versions than what is in the platform. |
To close this out, I ran dotnet/format non-source-build locally. It uses 5.0.0 versions because it pulls them in through an old Microsoft.Build reference: "Microsoft.Build/16.11.0": {
"type": "package",
"dependencies": {
"Microsoft.Build.Framework": "16.11.0",
"Microsoft.NET.StringTools": "1.0.0",
"Microsoft.Win32.Registry": "4.3.0",
"System.Collections.Immutable": "5.0.0", Then the 6.0.0-rc.1 platform assembly wins against 5.0.0. (Their global.json is rc.1.) If the Microsoft.Build dependency were "live", it seems like the same diff could happen between rc.2 and RTM Microsoft-built SDKs, or perhaps between 6.0.100 and 6.0.101 Microsoft-built SDKs. I think another factor is which repos upgrade their prebuilt toolsets from 6.0.100-rc.2 to 6.0.100 before building 6.0.101. |
Confirmed: these files are gone in a bootstrapped source-built SDK. |
These diffs are no longer present in .NET 8.0. Closing. |
These are in the sharedfx and shouldn't need to be here.
https://github.com/dagood/source-build/pull/9/files/c16bba2273c1519dea0e1c2a031053f8269b8551#r736883570
There are some poisoned DLLs also showing up in this directory, but they are distinct from these ones, all
Microsoft.Extensions.*
:The text was updated successfully, but these errors were encountered: