Skip to content

[NETSDKE2E][Regression] With 11.0.100-preview.7.26365.114 x86 SDK installed, some info are missing in "dotnet --info". #130903

Closed

Description

@vwenchen

Describe the bug

When installed 11.0.100-preview.7.26365.114.x86.exe, some info are missing in "dotnet --info".

Steps to reproduce

  1. Install 11.0.100-preview.7.26365.114 x86 sdk on win11 25h2 x64 machine
  2. Set x86 install path as environment path
  3. Open cmd and run dotnet --info

Expected behavior

The info of "dotnet --info" should show well.

Image

Actual behavior

Some info are missing in "dotnet --info"

Image Image

Is this a regression?

Worked well on 11.0.100-preview.7.26364.110 x86 sdk
Worked well on 11.0.100-preview.7.26365.114 x64 sdk

Are there any workarounds?

No response

dotnet --info output

dotnet -- info
NET SDK: 
Version: 11.0.100-preview. 7.26365.114
Commit: 8c1bd18b8c
Workload version: 11.0.100-manifests.36b0c6f5
MSBuild version: 18.10.0-1.26365.114+8c1bd18b8

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x86
Base Path: C:Program Files (x86)\dotnet\sdk\11.0.100-preview. 7.26365.114\

NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

IDE version

No response

Other details

No response

Activity

  1. added
    untriaged
    on Jul 16, 2026
  2. baronfel commented on Jul 16, 2026

    @baronfel
    Member

    To me this looks like the muxer's portion of the --info flow didn't run - @elinor-fung would a COREHOST_TRACE show that logic running/not-running?

  3. elinor-fung commented on Jul 16, 2026

    @elinor-fung
    Member

    This is a calling convention mismatch. The host is currently expecting cdecl:

    typedef int (__cdecl *dotnet_execute_fn)(
    const pal::char_t* host_path,
    const pal::char_t* dotnet_root,
    const pal::char_t* sdk_dir,
    const pal::char_t* hostfxr_path,
    int argc,
    const pal::char_t** argv);
    . But dotnet_execute is stdcall, so the stack is messed up on return and we don't print the host info.

    I had it as cdecl since that's what native host binaries (hostfxr, hostpolicy) use. But we usestdcall for coreclr and delegates in the runtime, so I think switching to expect stdcall for dotnet-aot makes sense.

  4. transferred this issue fromdotnet/sdkon Jul 16, 2026
  5. added and removed
    untriaged
    on Jul 16, 2026
  6. added this to the 11.0.0 milestone on Jul 16, 2026
  7. baronfel commented on Jul 16, 2026

    @baronfel
    Member

    Wow, that's more intricate than I would have expected! Thanks for the quick analysis :)

  8. v-huiwong commented on Jul 28, 2026

    @v-huiwong

    Not repro on 11.0.100-preview.7.26376.106 (runtime- 11.0.0-preview.7.26376.106)

    Image
  9. locked and limited conversation to collaborators on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions