Skip to content

[main] Source code updates from dotnet/arcade - #5791

Merged
mthalman merged 32 commits into
mainfrom
darc-main-8133ec47-d97a-47c8-9e52-58000692a597
Apr 16, 2026
Merged

mthalman merged 32 commits into
mainfrom
darc-main-8133ec47-d97a-47c8-9e52-58000692a597

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Mar 31, 2026 •

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/arcade

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/arcade:1f7eece09d5c6fc2a1319d04f6ae4b7d18455e2d..https://github.com/dotnet/dotnet:darc-main-8133ec47-d97a-47c8-9e52-58000692a597

@dotnet-maestro

Copy link
Copy Markdown
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-policy-service
dotnet-policy-service Bot requested a review from a team March 31, 2026 02:05
@dotnet-maestro

dotnet-maestro Bot commented Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

@dotnet-maestro

dotnet-maestro Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

@dotnet-maestro

dotnet-maestro Bot commented Apr 5, 2026

Copy link
Copy Markdown
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-maestro

dotnet-maestro Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

Important

While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged).
To avoid complex conflicts, the codeflow cannot continue until this PR is closed or merged.

You can continue with one of the following options:

  • Ignore this and merge this PR as usual without waiting for the new changes.
    Once merged, Maestro will create a new codeflow PR with the new changes.
  • Close this PR and wait for Maestro to open a new one with old and new changes included.
    You will lose any manual changes made in this PR.
    You can also manually trigger the new codeflow right away by running:
    darc trigger-subscriptions --id ab0d56ad-2ca6-45b9-98fc-393e964e843f
    
  • Force a codeflow into this PR at your own risk if you want the new changes.
    User commits made to this PR might be reverted.
    darc trigger-subscriptions --id ab0d56ad-2ca6-45b9-98fc-393e964e843f --force
    

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@mmitche

mmitche commented Apr 9, 2026

Copy link
Copy Markdown
Member

SB prebuilt

@mmitche
mmitche requested a review from a team April 9, 2026 17:18
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team April 9, 2026 18:15
@mthalman

mthalman commented Apr 9, 2026

Copy link
Copy Markdown
Member

@mmitche - Just so that you're aware this change of Newtonsoft.Json to 13.0.4 will require updating the Newtonsoft.Json submodule that we reference for source-build. That will then require all other repos to reference this newer version of Newtonsoft.Json. You ok with that?

@akoeplinger

Copy link
Copy Markdown
Member

This ultimately comes from arcade-services, I talked with @premun about it last week because it caused other issues like dotnet/arcade#16652 too. I tried downgrading dotnet/arcade-services#6155 but it was brought in there via Aspire.Hosting.AppHost ...

@dotnet-policy-service
dotnet-policy-service Bot requested review from a team April 14, 2026 21:36
mthalman and others added 4 commits April 15, 2026 07:22
Newtonsoft.Json 13.0.4 added [RequiresUnreferencedCode] and
[RequiresDynamicCode] attributes to JsonSerializer. Suppress
the resulting IL2026/IL3050 errors since the template engine
CLI is not published as trimmed or AOT.

Co-authored-by: Copilot <[email protected]>
Newtonsoft.Json 13.0.4 added [RequiresUnreferencedCode] and
[RequiresDynamicCode] attributes. Add targeted per-method
suppressions for IL2026/IL3050 in the Windows installer code
that uses Newtonsoft.Json serialization.

Co-authored-by: Copilot <[email protected]>
…d97a-47c8-9e52-58000692a597

# Conflicts:
#	src/sdk/src/Cli/dotnet/Installer/Windows/MsiPackageCache.cs
Fixes NU1603 in stage 2 source-build where only source-built
packages are available. NuGet.Packaging depends on
Newtonsoft.Json >= 13.0.3 but only 13.0.4 is source-built.

Co-authored-by: Copilot <[email protected]>
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team April 15, 2026 17:40
mthalman and others added 2 commits April 15, 2026 13:33
NuGet.Protocol has extensive Newtonsoft.Json usage across many
files. Suppress IL2026/IL3050 at the project level rather than
annotating 20+ individual call sites.

Co-authored-by: Copilot <[email protected]>
Both projects use Newtonsoft.Json APIs that are now annotated
with trim/AOT attributes in 13.0.4. Suppress IL2026/IL3050
at the project level.

Co-authored-by: Copilot <[email protected]>
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team April 15, 2026 19:57
@mthalman
mthalman enabled auto-merge (squash) April 15, 2026 23:01
Templating uses CentralPackageTransitivePinningEnabled, so adding
a PackageVersion entry pins the transitive Newtonsoft.Json dependency
from NuGet.Packaging to 13.0.4, fixing NU1603 in source-build.

Co-authored-by: Copilot <[email protected]>
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team April 15, 2026 23:14
@mthalman
mthalman merged commit ab01524 into main Apr 16, 2026
15 of 16 checks passed
@mthalman
mthalman deleted the darc-main-8133ec47-d97a-47c8-9e52-58000692a597 branch April 16, 2026 01:35
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team April 16, 2026 01: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.

7 participants