-
Notifications
You must be signed in to change notification settings - Fork 97
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
Make into a dotnet
tool?
#8
Comments
Hi Derek: In fact you already have this built-in in dotnet: This will give you all the installed .NET SDK versions in your computer. If you want to know all the installed .NET runtimes you can use: The whole point of creating my tool was to have something similar in the "classic" .NET framework, where knowing this information is not straightforward. HTH |
Yes, I am aware of |
Ah!, OK. So what you're proposing, if I understood it correctly, is to create a .NET version that apart from showing the same that It shouldn't be difficult to pull out in Windows with the Thanks for the suggestion. |
Right. Per my links above, I think this would fit well as a "tool" that could be called via the Powershell
https://stackoverflow.com/a/3495491/2246411 which is horrendous. Additionally, everywhere I look there seems to be caveats for 4.5+ or <=1 because of how the registry is organized differently for those versions. Someone could install your tool, but that's an additional thing to install. However, if they happen to already have the
Much simpler. Much cleaner. |
You're right. Thanks for the suggestion. I don't know I I'll have the time soon to do something like that, but I keep the idea here for doing sometime in the future 😊 |
+1 to you also adding this to the CLI in the future! :) |
+1 |
I'm happy to take a stab unless you'd prefer to do it? |
By all means, thank you. Just do a PR and I'll be happy to review and accept it. Thanks! |
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
The text was updated successfully, but these errors were encountered: