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

How about full, update and revision numbers. 4.6.1.69 etc. #56

Open
codeSasquatch opened this issue Oct 8, 2015 · 5 comments
Open

How about full, update and revision numbers. 4.6.1.69 etc. #56

codeSasquatch opened this issue Oct 8, 2015 · 5 comments

Comments

@codeSasquatch
Copy link

How about full, update and revision numbers. 4.6.1.69 etc.

@marcosnz
Copy link
Contributor

marcosnz commented Oct 8, 2015

@codeSasquatch do you know a way of reliably obtaining this?

@codeSasquatch
Copy link
Author

The only way I know of is to look inside windows at specific binaries e.g.C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
image

@marcosnz
Copy link
Contributor

Yeah, me to, but (in the past, at least) this hasn't been terribly reliable:

Below is a list with the approximate build range for each version:

.NET Version Clr.dll Build 4.0.30319.Build
.NET 4.0 4.0.30319.0 to 4.0.30319.17000
.NET 4.5 4.0.30319.17001 to 4.0.3019.18400
.NET 4.5.1 4.0.30319.18401 to 4.0.30319.34000
.NET 4.5.2 From 4.0.30319.34000

I think it may confuse some people to say "Your version is 4.5.2, your CLR version is 4.0.30319.34000".
What do you think?

@codeSasquatch
Copy link
Author

@marcosnz I think that Microsoft should provide a registry key with the latest "Product Version" with the revision and build numbers, so that engineers who do installation and also the few who even care about the version of .Net can find it easily. In a seperate key provide the "CLR" version It seems like an oversight to me that could easily be fixed. While its easy enough to go digging through the file structure to find a binary to look at it is not so clear for the beginning engineer or someone who has never been tasked to find the version to find it. Thoughts?

@binki
Copy link

binki commented Nov 9, 2016

@codeSasquatch How do you get 4.6.1.69 from 4.6.96.0? Also, on my system, clr.dll fileversion is 4.6.2006.0. What version of .net would that mean I have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants