Skip to content

Runtime binding ENVs missing from dotnet --info #117732

@richlander

Description

@richlander

I was hoping that DOTNET_ROLL_FORWARD ENVs would be displayed in dotnet --info. They do not appear to be. That would be very useful for diagnostic purposes. Am I doing something wrong?

rich@richs-MacBook-Pro ~ % export | grep DOTNET            
DOTNET_ROLL_FORWARD=Major
DOTNET_ROLL_FORWARD_TO_PRERELEASE=1
DOTNET_ROOT=/Users/rich/experimental-runtime
rich@richs-MacBook-Pro ~ % dotnet --info                   
.NET SDK:
 Version:           10.0.100-preview.5.25277.114
 Commit:            ddf39a1b46
 Workload version:  10.0.100-manifests.35d2efbf
 MSBuild version:   17.15.0-preview-25277-114+ddf39a1b4

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  26.0
 OS Platform: Darwin
 RID:         osx-arm64
 Base Path:   /usr/local/share/dotnet/sdk/10.0.100-preview.5.25277.114/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.

Host:
  Version:      10.0.0-preview.5.25277.114
  Architecture: arm64
  Commit:       ddf39a1b46

.NET SDKs installed:
  9.0.301 [/usr/local/share/dotnet/sdk]
  10.0.100-preview.5.25277.114 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 9.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 10.0.0-preview.5.25277.114 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 9.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 10.0.0-preview.5.25277.114 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]
    registered at [/etc/dotnet/install_location_x64]

Environment variables:
  DOTNET_ROOT       [/Users/rich/experimental-runtime]

@elinor-fung

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