Repository navigation
[main] Source code updates from dotnet/sourcelink - #7306
Merged
Merged
Conversation
[[ commit created by automation ]]
Contributor
Author
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
dotnet/sourcelink#1722 bumped Microsoft.Build* to 18.6.3 and SystemTextJsonVersion to 10.0.9, which introduced 18 prebuilt packages in the source-only build leg. Add the corresponding reference packages (plus their build-closure dependencies) to source-build-assets so the versions resolve from SBRP instead of leaking as prebuilts. Microsoft.Build.Utilities.Core 18.6.3 also needs a Microsoft.Win32.Registry netstandard2.0 ProjectReference for RegistryHive/RegistryView (CS1069), which the generator under-produces. This is added via a Customizations.props file so it survives regeneration. Co-authored-by: Copilot <[email protected]>
The reference packages added for the sourcelink update (dotnet/sourcelink#1722) fail to compile under source-build. Fixes mirror the existing 8.0.0 reference packages: - system.text.encodings.web/10.0.9: suppress CS3011 via Customizations.props, the same approach used by system.text.encodings.web/8.0.0. TextEncoder declares [CLSCompliant(false)] abstract members with unsafe pointer signatures; under TreatWarningsAsErrors this CLS-compliance warning becomes an error. - system.configuration.configurationmanager/10.0.3: add a Customizations.cs stub for System.Security.PermissionSet plus a CompatibilitySuppressions.xml, the same approach used by system.configuration.configurationmanager/8.0.0. The netstandard2.0 reference assembly uses System.Security.PermissionSet, which is not part of netstandard2.0 (CS0234); the modern .NET targets get the type from the shared framework. Co-authored-by: Copilot <[email protected]>
lewing
approved these changes
Jun 23, 2026
This was referenced Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note
This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/sourcelink
Diff the source with this PR branch