Skip to content

Show VMR commit hash under dotnet --info for source-built SDKs #3643

Closed
dotnet/sdk
#41190
@mateusrodrigues

Description

@mateusrodrigues

Describe the Problem

Currently, a source-built .NET SDK displays the commit hash of the installer repo -- the one in prereqs/git-info/installer.props -- when you run the command dotnet --info, e.g.

.NET SDK:
 Version:   8.0.100-rc.1.23455.1
 Commit:    e14caf947f

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  23.10
 OS Platform: Linux
 RID:         ubuntu.23.10-x64
 Base Path:   /usr/lib/dotnet/sdk/8.0.100-rc.1.23455.1/
...

Describe the Solution

It would probably make more sense to display the VMR repo commit hash equivalent to the source-tree that generated said SDK when the user types in dotnet --info.

Additional Context

This issue was a result of question #3642.

Metadata

Metadata

Assignees

Labels

area-product-experienceImprovements in the end-user's product experience

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions