/GetDotNetVersions

Determines which .NET Framework versions are installed by reading registry entries

Primary LanguageC#The UnlicenseUnlicense

Get Dot Net Versions

Determines which .NET Framework versions are installed by reading registry entries

Prerequisites

Requires .NET Core v3.0

Example Output

Reading Register entries for .NET Frameworks

.NET Framework Version: SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\

    .NET Framework Version: 4.8 or later

.NET Framework Versions: SOFTWARE\Microsoft\NET Framework Setup\NDP\

    v2.0.50727  2.0.50727.4927  SP2
    v3.0  3.0.30729.4926  SP2
    v3.5  3.5.30729.4926  SP1
    v4.0
      Client  4.0.0.0

ASP.NET Core: SOFTWARE\Microsoft\ASP.NET Core\Shared Framework\

    v2.1  2.1.13.0
    v2.2  2.2.7.0
    v3.0  3.0.0.0

ASP.NET Core: SOFTWARE\Microsoft\ASP.NET\

    2.0.50727.0  2.0.0.0
    4.0.30319.0  4.0.0.0