Skip to content

Support netstandard2.1#1283

Merged
BobLd merged 3 commits into
UglyToad:masterfrom
PsykerUdot:support-netstandard2.1
Apr 25, 2026
Merged

Support netstandard2.1#1283
BobLd merged 3 commits into
UglyToad:masterfrom
PsykerUdot:support-netstandard2.1

Conversation

@PsykerUdot

Copy link
Copy Markdown
Contributor

No description provided.

@BobLd

BobLd commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

@PsykerUdot can you explain the need to add netstandard2.1, especially on top of netstandard2.0?

@PsykerUdot

Copy link
Copy Markdown
Contributor Author

@PsykerUdot can you explain the need to add netstandard2.1, especially on top of netstandard2.0?

Unity (www.unity.com) supports only netstandard2.1. Using libraries built against netstandard2.0 can cause dependencies conflict (as Unity itself provides system libraries of certain versions).

@cremor

cremor commented Jun 26, 2026

Copy link
Copy Markdown

I don't need .NET Standard 2.1 support (and I don't understand how it would make a difference at runtime), but the way it was done here is not enough to really enable it.

  • UglyToad.PdfPig.Package.csproj wasn't updated, so the NuGet package doesn't contain the new target.
  • There are many Condition attributes in various csproj files that check for netstandard2.0. I assume those should have been updated to also check for netstandard2.1.

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