jmalarcon / DotNetVersions

Command line tool that shows the currently installed "classic" .NET versions in your system
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
MIT License
449 stars 96 forks source link

Doesnt automatically exit. #12

Closed chrcoluk closed 1 year ago

chrcoluk commented 1 year ago

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.

https://github.com/jmalarcon/DotNetVersions/issues/3#issuecomment-632116804

jmalarcon commented 1 year ago

¿Have you read the README file at the main page of this repo? This is the first thing you should do...

This program by default stops after finding the last version of .NET so that you can just double click on it to run it without having a lightning-fast command line opened and closed. If you add the -b, /b or --b switch, that it doesn't stop. That switch is there if you want to use it in a batch file.

chrcoluk commented 1 year ago

Apologies, guilty of not reading it properly (skimmed over it), makes sense.

jmalarcon commented 1 year ago

No problem 😊