Skip to content

Merge main into release/dnup (v2)#54134

Merged
dsplaisted merged 433 commits intodotnet:release/dnupfrom
dsplaisted:merge/main-to-release/dnup-v2
Apr 30, 2026
Merged

Merge main into release/dnup (v2)#54134
dsplaisted merged 433 commits intodotnet:release/dnupfrom
dsplaisted:merge/main-to-release/dnup-v2

Conversation

@dsplaisted
Copy link
Copy Markdown
Member

Fresh merge of main into release/dnup, replacing #53868.

Conflict resolutions:

  • copilot-instructions.md: Kept ./.dotnet/\ prefix and added incremental-test skill note from main
  • github-merge-flow.jsonc: Adopted main's chain (1xx→3xx→4xx→main, dropping 2xx per dd4c984)
  • Interop.cs: Kept both hostfxr interop methods (main) and Unix realpath (release/dnup)
  • UnitTests.proj: Kept release/dnup's extra test excludes (dotnetup, AnalyzerRedirecting, TemplateEngine)

No version file conflicts — \global.json, \Version.Details.xml, and \Versions.props\ auto-merged cleanly.

DonnaChen888 and others added 30 commits April 9, 2026 15:06
…uild 20260318.1

On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn-analyzers , Microsoft.CodeAnalysis.NetAnalyzers From Version 9.0.0-preview.26055.3 -> To Version 9.0.0-preview.26168.1
…uild 20260322.3

On relative base path root
Microsoft.SourceBuild.Intermediate.roslyn-analyzers , Microsoft.CodeAnalysis.NetAnalyzers From Version 9.0.0-preview.26055.3 -> To Version 9.0.0-preview.26172.3
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Version.Details.props
- eng/common/*
…318.2

On relative base path root
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions From Version 9.0.0-beta.26152.3 -> To Version 9.0.0-beta.26168.2
…330.1

On relative base path root
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions From Version 9.0.0-beta.26152.3 -> To Version 9.0.0-beta.26180.1
…401.6

On relative base path root
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions From Version 9.0.0-beta.26152.3 -> To Version 9.0.0-beta.26201.6
…ld 20260319.2

On relative base path root
Microsoft.SourceBuild.Intermediate.scenario-tests , Microsoft.DotNet.ScenarioTests.SdkTemplateTests From Version 9.0.0-preview.26153.1 -> To Version 9.0.0-preview.26169.2
…ld 20260402.3

On relative base path root
Microsoft.SourceBuild.Intermediate.scenario-tests , Microsoft.DotNet.ScenarioTests.SdkTemplateTests From Version 9.0.0-preview.26153.1 -> To Version 9.0.0-preview.26202.3
…0260407.6

On relative base path root
Microsoft.TemplateEngine.Abstractions From Version 9.0.313 -> To Version 9.0.314
Microsoft.TemplateEngine.Mocks From Version 9.0.313-servicing.26154.2 -> To Version 9.0.314-servicing.26207.6
…0260408.2

On relative base path root
Microsoft.TemplateEngine.Abstractions From Version 9.0.313 -> To Version 9.0.314
Microsoft.TemplateEngine.Mocks From Version 9.0.313-servicing.26154.2 -> To Version 9.0.314-servicing.26208.2
…0260408.8

On relative base path root
Microsoft.TemplateEngine.Abstractions From Version 9.0.313 -> To Version 9.0.314
Microsoft.TemplateEngine.Mocks From Version 9.0.313-servicing.26154.2 -> To Version 9.0.314-servicing.26208.8
Co-authored-by: Matt Thalman <mthalman@microsoft.com>
…0260409.3

On relative base path root
Microsoft.TemplateEngine.Abstractions From Version 9.0.313 -> To Version 9.0.314
Microsoft.TemplateEngine.Mocks From Version 9.0.313-servicing.26154.2 -> To Version 9.0.314-servicing.26209.3
The automated merge from release/10.0.2xx overwrote the 10.0.3xx
version of the snapshot file. The two branches have legitimately
different help output (10.0.2xx has --show-stderr/--show-stdout,
10.0.3xx has --artifacts-path instead). Restore the 10.0.3xx version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The automated merge from release/10.0.2xx incorrectly overwrote
dependency versions in Version.Details.props and Version.Details.xml.
These files contain dependency versions managed by Maestro/darc and
should not be updated by inter-branch merges — each branch has its
own dependency flow. The merge downgraded ~60 package versions from
26203 builds to older 26201 builds and changed NuGet, Roslyn, and
testing platform versions to incompatible values.

Restore both files to match release/10.0.3xx.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Version.Details.props
- eng/common/*
The "Using launch settings from ..." message was written to stdout via
Reporter.Output.WriteLine, which pollutes program output and breaks
piping (e.g. dotnet run > output.json produces invalid JSON).

Changed to Reporter.Error.WriteLine in both RunCommand.cs and
SolutionAndProjectUtility.cs so the message goes to stderr, consistent
with other diagnostic messages. Updated tests to check StdErr for this
message.

Fixes dotnet#45640
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Version.Details.props
- eng/common/*
github-actions Bot and others added 12 commits April 27, 2026 09:37
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Version.Details.props
- eng/common/*
…l API (dotnet#53920)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Replace production CLI and sdk-tasks Newtonsoft.Json usage with System.Text.Json APIs, including JsonNode-based DOM handling and source-generated serializer contexts for AOT/trimming-safe serialization.

Enable AOT compatibility for sdk-tasks, remove direct Newtonsoft.Json package references from migrated projects, and add coverage for JSON mutation helpers, installer serialization, host data, aliases, and TemplateEngine CLI parsing parity.
Resolved conflicts:
- copilot-instructions.md: kept .dotnet prefix and added incremental-test skill
- github-merge-flow.jsonc: included full 10.0.1xx->2xx->3xx->4xx->main chain
- Interop.cs: kept both hostfxr interop methods (main) and Unix realpath (dnup)
- UnitTests.proj: kept dotnetup/AnalyzerRedirecting/TemplateEngine test excludes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Main explicitly removed release/10.0.2xx from the merge chain,
changing it to 1xx->3xx->4xx->main. The 2xx entry in release/dnup
was stale.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 28, 2026 21:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@github-actions github-actions Bot added the sdk-diagnostic-docs-needed Indicates that a PR introduces new diagnostic codes, which must be documented over at dotnet/docs label Apr 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

📋 SDK Diagnostic Documentation Reminder

This PR introduces 1 new SDK diagnostic code:

  • NETSDK1237

Action Required

Please ensure that documentation for this diagnostic is added or updated in the dotnet/docs repository at:

Each diagnostic should have:

  • A clear description of the error/warning
  • Possible causes
  • Recommended solutions
  • Code examples where applicable

Thank you for helping keep our documentation up to date! 🙏

…tnet#53947)"

This reverts commit 1ec3763.

The reverted change used @(ItemList) references in PropertyGroup conditions
in Microsoft.NET.CrossGen.targets, which is not allowed by MSBuild (MSB4099).
This breaks all builds that evaluate this file.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jjonescz and others added 4 commits April 29, 2026 06:44
These tests were missed in the original CppCli test disable (commit 60fabb7).
Same root cause: VS 2026 scout Helix images missing VCTargetsPath/Microsoft.Cpp.Default.props.

Fixes dotnet#54145

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Instead of hardcoding --fx-version 8.0.0, dynamically find the
actual installed 8.0.x runtime. With dotnetup, only the latest
patch (e.g. 8.0.22) may be installed rather than 8.0.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsplaisted
Copy link
Copy Markdown
Member Author

/ba-g Infrastructure failures or other issues that haven't yet been fixed in main

@dsplaisted dsplaisted merged commit 135252a into dotnet:release/dnup Apr 30, 2026
23 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-diagnostic-docs-needed Indicates that a PR introduces new diagnostic codes, which must be documented over at dotnet/docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.