Skip to content

[Backport 7.x] Update to .NET 5 SDK (#5099) #5107

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
Nov 20, 2020
Merged

Conversation

stevejgordon
Copy link
Contributor

  • Update to .NET 5 SDK
  • Update InternalsVisibleTo as .NET 5 SDK now supports passing a key
  • Fix test after upgrading tests to net5.0

In .NET 5, System.Text.Json added support for creating types using a
constructor with parameters. Despite the internal parameterless ctor
being accessible, STJ is not using it. The solution for now seems to be
to make this public.

(cherry picked from commit fa2edcc)

* Update to .NET 5 SDK
* Update InternalsVisibleTo as .NET 5 SDK now supports passing a key
* Fix test after upgrading tests to net5.0

In .NET 5, System.Text.Json added support for creating types using a
constructor with parameters. Despite the internal parameterless ctor
being accessible, STJ is not using it. The solution for now seems to be
to make this public.

(cherry picked from commit fa2edcc)
@stevejgordon stevejgordon merged commit 900088a into 7.x Nov 20, 2020
@stevejgordon stevejgordon deleted the backport-5099-to-7.x branch November 20, 2020 10:14
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.

1 participant