Repository navigation
[main] Source code updates from dotnet/arcade - #5791
Conversation
[[ commit created by automation ]]
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
[[ commit created by automation ]]
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
[[ commit created by automation ]]
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
[[ commit created by automation ]]
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Note PRs from original repository included in this codeflow update: 💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
SB prebuilt |
|
@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? |
|
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 ... |
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]>
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]>
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]>
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