Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What version of dotnet am I running? #2852

Closed
Rovastar opened this issue Jul 18, 2017 · 2 comments
Closed

What version of dotnet am I running? #2852

Rovastar opened this issue Jul 18, 2017 · 2 comments

Comments

@Rovastar
Copy link

I believe I installed (under windows server 2012r2) the asp.net 1.1.2 runtime correctly. Latest build, never installed previous versions, add remove programs say 1.1.2 and all references under the install direct have 1.0.5 or 1.1.2

However the C:\Program Files\dotnet\dotnet.exe properties do not reflect this at all. The file version there is 1.1.0.1179

What version do I have installed? Is it just a bug and the file info has not been updated or do I misunderstand what the file version is in the exe?

@steveharter
Copy link
Member

dotnet --info will tell you which framework is selected via the dotnet executable.

The C:\Program Files\dotnet\shared locations will tell you which frameworks (should just be Microsoft.NetCore.App) and versions are installed. The settings in an app's .runtimeconfig.json will tell you the framework name and base version that is targeted.

@msftgits msftgits transferred this issue from dotnet/core-setup Jan 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants