Coder Social home page Coder Social logo

Comments (5)

marcosnz avatar marcosnz commented on July 22, 2024

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

from smallestdotnet.

codeSasquatch avatar codeSasquatch commented on July 22, 2024

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

from smallestdotnet.

marcosnz avatar marcosnz commented on July 22, 2024

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?

from smallestdotnet.

codeSasquatch avatar codeSasquatch commented on July 22, 2024

@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?

from smallestdotnet.

binki avatar binki commented on July 22, 2024

@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?

from smallestdotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.