Skip to content
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

[vs17.14] Remove deprecated 4.3.* System package references & fix entries in Version.Details.xml #11571

Merged
merged 4 commits into from
Mar 11, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 11, 2025

Backport of #11555 & #11561 to vs17.14

/cc @ViktorHofer @akoeplinger

Both "System.Runtime" and "System.Private.Uri" are inbox in .NETCoreApp since ~2017 and don't need to be referenced explicitly anymore.

They were referenced here as external dependencies brought vulnerable netstandard1.x dependencies in which were then flagged by CG.

That isn't the case anymore. xunit, shouldly and other packages with their corresponding versions used in this repo don't bring netstandard1.x in anymore.

Don't reference "System.Net.Http" for the same reason. It is inbox on .NET Framework, .NETCoreApp and .NET Standard. On .NET Framework a "<Reference Include="System.Net.Http" />" item is needed as it isn't part of the default referenced assemblies.

Note that this change will help when starting to consume a .NET 10 SDK as those would get flagged by NuGet Prune Package Reference and NuGet Audit.
@github-actions github-actions bot requested a review from a team as a code owner March 11, 2025 09:09
#11561)

Follow-up to #11145. We were missing the entry for System.Text.Encoding.CodePages in Version.Details.xml which caused a prebuild in dotnet/sdk#47377.

Also simplified the way we reference the different package versions a bit to make it clearer.

Remove Microsoft.VisualStudio.SolutionPersistence from SourceBuildPrebuiltBaseline.xml, since we now properly reference it from source-build-externals
@ViktorHofer ViktorHofer changed the title [vs17.14] Remove deprecated 4.3.* System package references [vs17.14] Remove deprecated 4.3.* System package references & fix entries in Version.Details.xml Mar 11, 2025
@ViktorHofer ViktorHofer enabled auto-merge (squash) March 11, 2025 09:18
@ViktorHofer
Copy link
Member

@dotnet/kitten please approve to unblock dotnet/sdk#47377

@ViktorHofer ViktorHofer merged commit 7871c1d into vs17.14 Mar 11, 2025
9 checks passed
@ViktorHofer ViktorHofer deleted the backport/pr-11555-to-vs17.14 branch March 11, 2025 11:40
@rainersigwald
Copy link
Member

This is going to make it harder than necessary to merge main to 17.14, unfortunately. Working on that with @maridematte.

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.

4 participants