Skip to content

#643 Conditionally including legacy packages #644

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

Merged
merged 1 commit into from
Oct 17, 2021
Merged

#643 Conditionally including legacy packages #644

merged 1 commit into from
Oct 17, 2021

Conversation

nathan-alden-sr
Copy link
Contributor

Summary of the PR

The Microsoft.Bcl.HashCode and Ultz.Bcl.Half packages are now being conditionally included based on the TFM.

Package Included with TFMs
Microsoft.Bcl.HashCode netstandard2.0
Ultz.Bcl.Half netstandard2.0;netstandard2.1;netcoreapp3.1

Related issues, Discord discussions, or proposals

Discord link in related issue.

Further Comments

I tested this locally by running dotnet build with --framework netstandard2.0 for the five affected projects, then checking their references in ReSharper's Assembly Explorer. You can see the reference differences below:

image

I did not have to modify any source files due to this change. I think that's because the two types in question are in the System namespace, which is included in nearly every source file.

@Perksey
Copy link
Member

Perksey commented Oct 17, 2021

@HurricanKai You're marked for review as the maths codeowner. Presume you're fine with this?

@HurricanKai
Copy link
Member

Of course. Given the MSBuild magic works 😄

@Perksey Perksey merged commit 196b29e into dotnet:main Oct 17, 2021
Perksey pushed a commit that referenced this pull request Nov 20, 2023
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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy