jmalarcon / dotnetversions Goto Github PK
View Code? Open in Web Editor NEWCommand line tool that shows the currently installed "classic" .NET versions in your system
License: MIT License
Command line tool that shows the currently installed "classic" .NET versions in your system
License: MIT License
The dotnet
CLI has a handy feature of "tools" (like extensions). I could see this being a very useful one. It would make your tool very easy to install & use.
https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools
https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create
Via the microsoft docs I found your project. It looks promising but I wasn't able to run the project. For me it would be helpful to have a directly executable file or a brief instruction on how I could get the project to run ๐ค
This tool targets .NET 2.0, which means by default it will only run if you have a 2.0 to 3.5 runtime installed. On all currently supported versions of Windows, the 3.5 runtime is an optional component that is not installed by default. Windows will prompt you to download 3.5 if you try to run this tool and only have 4+ is installed.
One option is to create an app.config file to enable forward compatibility. To prefer 4+ but still run back to 2.0, you want something like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
Unfortunately, you no longer have a single file deployment, but I think that's the only option other than retargeting.
I was looking for an .exe file so I can run it and get the version of .net.
An update to the README.md can help with this so I know what I am supposed to do to get the version of the .net running on my system.
Is it supposed to be that I have to download and run the project locally to get the correct version ?
Hello, I know this nice little app for a long time, but it always reminds me to ask this question:
Shouldn't is say "4.8.1" somewhere? Not sure everyone will know 4.8.09037 is 4.8.1...
According to your documentation, DotNetVersions should require .NET Framework 2.0 to be executed. Even though I have the latest .NET Framework 4.8 installed (the Developer Pack edition), when I execute DotNetVersions, it triggers the missing runtime dialog:
Is it expected? I thought that .NET Framework should be backwards compatible. Do I really need to install .NET Framework 3.5?
Runs great! Just would really like to request feature that adds file path to each version...thanks!
FYI
https://www.virustotal.com/gui/file/647bf21ffaa77136799acf979056df96968e9959bb4e03c1622a20cfbc3802a1
Might be worth contact them and submitting for re-evaluation?
Is there a way to include a check for .net core runtime version.
Tested this on bare metal install of windows and also clean install of windows in a VM, in both cases it detects all .NET versions up to 4.8 then sits there until I abort, the longest case just over 6 hours, whilst sitting there I see no i/o or cpu activity from the process.
Seems hitting enter causes it to exit as well, so is it finishing but just not auto exiting? The bare metal also has newer versions of .NET which dont show, hence me waiting.
Seems by design this is only for older versions of .NET so i guess its just about the exit behaviour.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.