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

[release/7.0] Fix public key token of Serialization.Schema contract assembly #75973

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 21, 2022

Backport of #75963 to release/7.0

/cc @ViktorHofer

Customer Impact

Right now, this change doesn't correct any observable broken customer impact as no library in dotnet/runtime yet bind against Serialization.Schema. Still, I decided to create a backport as presumably a library in this repo could start referencing it and then backport such a change into release/7.0.

Testing

I verified that the produced contract and implementation assembly now contain the Microsoft strong name public key token. Automation to capture this as part of the build will be enabled in main as part of #73263.

Risk

Low. The public key token in the contract will be changed from Open to Microsoft. The package only supports modern .NET (net7.0), which means this isn't applicable to .NET Framework and the contract assembly doesn't even ship inside the package. This only affects libraries inside dotnet/runtiem that bind against the Serialization.Schema's contract assembly (via a ProjectReference).

The Microsoft public key token was only applied to the source assembly but not to the contract.
@ghost
Copy link

ghost commented Sep 21, 2022

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #75963 to release/7.0

/cc @ViktorHofer

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ViktorHofer
Copy link
Member

I talked with @ericstj about this offline and we want to treat this as an infrastructure change as nothing is impacted yet but presumably a library in this repo could start referencing the Serialization.Schema library still before GA.

@ViktorHofer ViktorHofer merged commit 6d77124 into release/7.0 Sep 21, 2022
@ViktorHofer ViktorHofer deleted the backport/pr-75963-to-release/7.0 branch September 21, 2022 17:11
@ViktorHofer
Copy link
Member

Tell mode change, cc @ericstj @danmoseley

@ghost ghost locked as resolved and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants