This is a quick way to check an installed version of .NET Framework (as opposed to .NET Core). This works for any .NET Framework 4.5 or later. We're doing this by using a PowerShell script to get the value from the registry and a Python script to quickly match the release number to the associated .NET Framework version. This has been used so many times to get the value quickly on production … [Read more...]
How to Remove .NET Runtime and SDK on Mac
Check Installation Determine which version is installed with the command line. According to Microsoft documentation, we need to remove the SDKs and runtimes separately: Pay attention to the difference in installed locations between the Intel Mac vs. Silicon M series chip. Arm-based mac: /usr/local/share/dotnet/ Intel-based mac: /usr/local/share/dotnet/x64/dotnet/ In this … [Read more...]
Trying .NET 6 Preview on macOS Silicon M1
Installed on /usr/local/share/dotnet. Trying to create a new F# project in Terminal. dotnet new console --language F# -o MyFSharpApp Further Reading If you need to uninstall the SDK when the release is out: How to Remove .NET Runtime and SDK on Mac Remove / Uninstall .NET SDK on macOS … [Read more...]
How to Check Installed .NET Core Version
This is one way to determine what version of .NET Core is installed on your machine (or if it's not installed): Launch Windows PowerShell. Runtime SDK In the following example, you can see that .NET Core 2.1.2 Runtime is installed, but the SDK is not installed with the following error message: Otherwise, it will look more like the next screenshot: … [Read more...]