[release/9.0] Update System.Formats.Nrbf ref sources and restore package description #108467
+38
−36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #108430 to release/9.0
/cc @jeffhandley
Customer Impact
The short package description defined in the project is shown in NuGet client tooling when showing package search results. Without the description, only the package name is shown until the package is selected and the full readme can be shown. This fix restores the short package description.
This also gets the reference assembly updated to match the implementation assembly, adding the missing private struct dummy field. Without the missing field, customers would incorrectly be able to use an uninitialized struct. The reference source is now aligned with what is produced from
dotnet msbuild /t:GenerateReferenceAssemblySource
to improve maintainability going forward.Regression
This is a new package in .NET 9.
Testing
A local package source was added to view the updated package in the NuGet Package Manager, seeing the package description in place. The package can be added to a project and referenced as expected.
Risk
Low. Does not affect the implementation assembly at all.