Skip to content

[main] Source code updates from dotnet/sourcelink - #7306

Merged
lewing merged 4 commits into
mainfrom
darc-main-15a226a1-af72-4442-b842-a8043a04c050
Jun 23, 2026
Merged

lewing merged 4 commits into
mainfrom
darc-main-15a226a1-af72-4442-b842-a8043a04c050

Conversation

@dotnet-maestro

Copy link
Copy Markdown
Contributor

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
darc vmr diff --name-only https://github.com/dotnet/sourcelink:3658fb07dc9970388dd6c91c70487272c66f484a..https://github.com/dotnet/dotnet:darc-main-15a226a1-af72-4442-b842-a8043a04c050

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

@mthalman mthalman self-assigned this Jun 22, 2026
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]>
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 22, 2026 17:43
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
lewing merged commit ff45a39 into main Jun 23, 2026
16 checks passed
@lewing
lewing deleted the darc-main-15a226a1-af72-4442-b842-a8043a04c050 branch June 23, 2026 23:36
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.

2 participants