Skip to content

dotnet binary showing the wrong version #3818

@mishra14

Description

@mishra14

From @mishra14 on November 28, 2017 23:5

Steps to reproduce

  1. download binary from here
  2. run dotnet --info

Expected behavior

.NET Command Line Tools (2.0.3)

Actual behavior

F:\validation\test> . "C:\Users\anmishr\Downloads\dotnet-runtime-2.0.3-win-x64\dotnet.exe" --info
.NET Command Line Tools (2.1.1)

Product Information:
 Version:            2.1.1
 Commit SHA-1 hash:  436d56176b

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.1\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.3
  Build    : a9190d4a75f4a982ae4b4fa8d1a24526566c69df

I think the exe is picking up the same version on my machine irrespective of the dotnet.exe being executed.

Copied from original issue: dotnet/cli#8126

Metadata

Metadata

Assignees

Labels

in-prThis issue will be closed (fixed) by an active pull request.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions