Giter Site home page Giter Site logo

Missing one thing about dotnetversions HOT 2 CLOSED

jmalarcon avatar jmalarcon commented on July 20, 2024
Missing one thing

from dotnetversions.

Comments (2)

jmalarcon avatar jmalarcon commented on July 20, 2024 1

Mmmm, that would be hard to do.

The folders are easily found because they are under C:\Windows\Microsoft.NET\. However there is one folder for .NET 32 bits (\Framework) and another for .NET 64 bits (\Framework64). Inside those there are folders for each "base" .NET framework version. For example, these are the ones in my computer:

image

There's not a direct relationship between versions and all the folders.

For example, if you run a .NET 3.5 app 32 bits and get the framework folder using System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory() you'll get the 2.0 v2.0.50727 folder, not the v3.5 folder, because, in fact, the base framework for 3.5 .NET is 2.0. And this would change the path if your app is running for 64 bits.

The same thing happens with .NET 4.x: the folder is v4.0.30319 in any case, but there are two possible paths depending on 32 or 64 bits.

So, to show that information in the console, at least I'll need to duplicate the information. And anyway it's extremely easy to find the folder for the .NET version you are interested in.

HTH

from dotnetversions.

vintaclectic avatar vintaclectic commented on July 20, 2024 1

Awesome, I never knew nor could find anything helpful in learning so...thank you very much for the detailed explanation, truly appreciate you!

from dotnetversions.

Related Issues (10)

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.