Skip to content

[release/11.0-preview1] Source code updates from dotnet/dotnet#2767

Merged
adamsitnik merged 10 commits intorelease/11.0-preview1from
darc-release/11.0-preview1-fe454356-a86b-4155-810b-f9b40d8bcba1
Feb 4, 2026
Merged

[release/11.0-preview1] Source code updates from dotnet/dotnet#2767
adamsitnik merged 10 commits intorelease/11.0-preview1from
darc-release/11.0-preview1-fe454356-a86b-4155-810b-f9b40d8bcba1

Conversation

@dotnet-maestro
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Jan 27, 2026

Note

This is a codeflow update. It may contain both source code changes from
the VMR
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/dotnet

Updated Dependencies

Associated changes in source repos

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/dotnet:5878f97142b9bf169f42d045746e7a369000bff2..https://github.com/dotnet/command-line-api:darc-release/11.0-preview1-fe454356-a86b-4155-810b-f9b40d8bcba1

@SamMonoRT
Copy link
Member

@jeffhandley @adamsitnik @jonsequitur - backflow PR - please take a look and help merge

@adamsitnik
Copy link
Member

The log contains very strange output:

You must install or update .NET to run this application.

App: D:\a\_work\1\s\.packages\xunit.runner.console\2.9.3\tools\netcoreapp2.0\xunit.console.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '10.0.0' (x64)
.NET location: D:\a\_work\1\s\.dotnet\

The following frameworks were found:
  8.0.22 at [D:\a\_work\1\s\.dotnet\shared\Microsoft.NETCore.App]
  11.0.0-alpha.1.26064.118 at [D:\a\_work\1\s\.dotnet\shared\Microsoft.NETCore.App]

The following frameworks for other architectures were found:
  x86
    6.0.36 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    6.0.40 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    8.0.22 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    9.0.11 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=10.0.0&arch=x64&rid=win-x64&os=win10
=== COMMAND LINE ===
"D:\a\_work\1\s\.dotnet\dotnet.exe" exec --depsfile "D:\a\_work\1\s\artifacts\bin\System.CommandLine.Tests\Release\net10.0\System.CommandLine.Tests.deps.json" --runtimeconfig "D:\a\_work\1\s\artifacts\bin\System.CommandLine.Tests\Release\net10.0\System.CommandLine.Tests.runtimeconfig.json"  "D:\a\_work\1\s\.packages\xunit.runner.console/2.9.3/tools/netcoreapp2.0/xunit.console.dll" "D:\a\_work\1\s\artifacts\bin\System.CommandLine.Tests\Release\net10.0\System.CommandLine.Tests.dll" -noautoreporters -xml "D:\a\_work\1\s\artifacts\TestResults\Release\System.CommandLine.Tests_net10.0_x64.xml" -html "D:\a\_work\1\s\artifacts\TestResults\Release\System.CommandLine.Tests_net10.0_x64.html"  > "D:\a\_work\1\s\artifacts\log\Release\System.CommandLine.Tests_net10.0_x64.log" 2>&1

I can't reproduce it locally:

git clone https://github.com/dotnet/command-line-api.git --branch darc-release/11.0-preview1-fe454356-a86b-4155-810b-f9b40d8bcba1 scl_11
cd scl_11
.\build.cmd
GET https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1
  Attempting to install 'sdk v11.0.100-alpha.1.26064.118' from public location.
dotnet-install: Remote file https://ci.dot.net/public/Sdk/11.0.100-alpha.1.26064.118/dotnet-sdk-11.0.100-alpha.1.26064.118-win-x64.zip size is 305594125 bytes.
dotnet-install: Downloaded file https://ci.dot.net/public/Sdk/11.0.100-alpha.1.26064.118/dotnet-sdk-11.0.100-alpha.1.26064.118-win-x64.zip size is 305594125 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Adding to current process PATH: "D:\projects\scl_11\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
dotnet-install: Note that the script does not ensure your Windows version is supported during the installation.
dotnet-install: To check the list of supported versions, go to https://learn.microsoft.com/dotnet/core/install/windows#supported-versions
dotnet-install: Installed version is 11.0.100-alpha.1.26064.118
dotnet-install: Installation finished

Build succeeded in 4.0s
  C:\Users\adsitnik\.nuget\packages\microsoft.dotnet.arcade.sdk\11.0.0-beta.26079.122\tools\Tools.proj net472    (3.6s)
  Attempting to install runtime toolset 'dotnet/x64 v8.0.22' from public location.                               (8.5s)
dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Runtime/8.0.22/dotnet-runtime-8.0.22-win-x64.zip size is 33298226 bytes.
dotnet-install: Downloaded file https://builds.dotnet.microsoft.com/dotnet/Runtime/8.0.22/dotnet-runtime-8.0.22-win-x64.zip size is 33298226 bytes.
dotnet-install: The remote and local file sizes are equal.
  C:\Users\adsitnik\.nuget\packages\microsoft.dotnet.arcade.sdk\11.0.0-beta.26079.122\tools\Tools.proj net472   (10.2s)
dotnet-install: Note that the script does not ensure your Windows version is supported during the installation.
dotnet-install: To check the list of supported versions, go to https://learn.microsoft.com/dotnet/core/install/windows#supported-versions
dotnet-install: Installed version is 8.0.22
Restore complete (10.2s)
  System.CommandLine net10.0 succeeded (4.7s) → artifacts\bin\System.CommandLine\Debug\net10.0\System.CommandLine.dll
  System.CommandLine netstandard2.0 succeeded (0.9s) → artifacts\bin\System.CommandLine\Debug\netstandard2.0\System.CommandLine.dll
  dotnet-suggest net10.0 succeeded (1.0s) → artifacts\bin\dotnet-suggest\Debug\net10.0\dotnet-suggest.dll
  dotnet-suggest net10.0 win-x64 succeeded (0.4s) → artifacts\bin\dotnet-suggest.Tests\Debug\net10.0\TestAssets\
  System.CommandLine net10.0 succeeded (0.2s) → artifacts\bin\dotnet-suggest.Tests\Debug\net10.0\TestAssets\
  EndToEndTestApp net10.0 win-x64 succeeded (0.3s) → artifacts\bin\dotnet-suggest.Tests\Debug\net10.0\TestAssets\
  System.CommandLine.ApiCompatibility.Tests net10.0 succeeded (2.9s) → artifacts\bin\System.CommandLine.ApiCompatibility.Tests\Debug\net10.0\System.CommandLine.ApiCompatibility.Tests.dll
  System.CommandLine.Tests net472 succeeded (3.5s) → artifacts\bin\System.CommandLine.Tests\Debug\net472\System.CommandLine.Tests.dll
  System.CommandLine.Tests net10.0 succeeded (3.5s) → artifacts\bin\System.CommandLine.Tests\Debug\net10.0\System.CommandLine.Tests.dll
  dotnet-suggest.Tests net10.0 succeeded (0.8s) → artifacts\bin\dotnet-suggest.Tests\Debug\net10.0\dotnet-suggest.Tests.dll

Build succeeded in 32.6s

@mmitche Could you please help us?

@ericstj
Copy link
Member

ericstj commented Feb 3, 2026

You must install or update .NET to run this application.

App: D:\a\_work\1\s\.packages\xunit.runner.console\2.9.3\tools\netcoreapp2.0\xunit.console.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '10.0.0' (x64)
.NET location: D:\a\_work\1\s\.dotnet\

The following frameworks were found:
  8.0.22 at [D:\a\_work\1\s\.dotnet\shared\Microsoft.NETCore.App]
  11.0.0-alpha.1.26064.118 at [D:\a\_work\1\s\.dotnet\shared\Microsoft.NETCore.App]

The following frameworks for other architectures were found:
  x86
    6.0.36 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    6.0.40 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    8.0.22 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    9.0.11 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]

@ericstj
Copy link
Member

ericstj commented Feb 3, 2026

Build machine needs to install a 10.0 runtime. You can do this with an update to global.json. I can fix it.

@ericstj
Copy link
Member

ericstj commented Feb 3, 2026

You may still need the 8.0 runtime if your tests target 8.0 as well. Update: maybe they don't since it looks like they target NetMinimum. https://github.com/search?q=repo%3Adotnet%2Fcommand-line-api+TargetFramework+path%3A**%2F*test*csproj&type=code

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
@adamsitnik adamsitnik enabled auto-merge (squash) February 4, 2026 10:54
Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks everyone for your help!

@adamsitnik adamsitnik merged commit ddf3078 into release/11.0-preview1 Feb 4, 2026
9 checks passed
@adamsitnik adamsitnik deleted the darc-release/11.0-preview1-fe454356-a86b-4155-810b-f9b40d8bcba1 branch February 4, 2026 11:05
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.

5 participants