Discrepancy between .Net SDK version shown on the website and Display version shown on the Registry

Dhanraj D 6 Reputation points
2022-01-25T09:05:42.933+00:00

Hi There,

When we install Microsoft .Net SDK 6.0.100, the display version available on the registry is "6.1.21.52711".But, the actual version that is mentioned on the website is "6.0.100".

Even the products that are included in the SDK like ".NET Desktop Runtime 6.0.0" have a different display version on the registry than what is shown on the website.

For example:- The ".NET Desktop Runtime 6.0.0", installed part of "Microsoft .Net SDK 6.0.100" installation has the display version of "48.3.31217" on the registry but the standalone version has the display version of "6.0.0.30623".

We would like to know why this contradiction between the standalone version of the products and the ones which are part of SDK.

We also want to know why there is a difference between the version mentioned on the website and the one available on the registry for SDK itself.

Please refer to 168261-sdk.png168246-desktop-runtime-installed-part-of-sdk.png168070-desktop-runtime-standalone.pngthe screenshots.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,906 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,226 Reputation points
    2022-01-25T19:58:08.78+00:00

    the registery setting are only used by the windows installer and uninstaller for dotnet

    on windows there are typically three runtimes:

    Microsoft.AspNetCore.App
    Microsoft.NETCore.App
    Microsoft.WindowsDesktop.App

    each is its own folder, and contains a folder for each installed runtime.

    to know what is installed its:

    dotnet --list-runtimes
    dotnet --list-sdks


  2. Jiachen Li-MSFT 32,056 Reputation points Microsoft Vendor
    2022-01-26T02:26:16.5+00:00

    Hi @Dhanraj D ,
    Overview of how .NET is versioned
    The .NET Runtime and the .NET SDK add new features at different frequencies. In general, the SDK is updated more frequently than the Runtime.
    Options for dotnet by itself
    Please use
    dotnet --list-sdks to print out a list of the installed .NET SDKs.
    dotnet--list-runtimes to prints out a list of the installed .NET runtimes. An x86 version of the SDK lists only x86 runtimes, and an x64 version of the SDK lists only x64 runtimes.

    Best Regards.
    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Dhanraj D 6 Reputation points
    2022-02-02T05:38:56.857+00:00

    Thanks @Jiachen Li-MSFT ,

    Yeah, the reason is if I want to install "Microsoft Windows Desktop Runtime" of version "6.0.0", I can simply take the version from the website itself and put it in the script to find out the machines which have lower version. In this case, I would simply check for the machines which have "Microsoft Windows Desktop Runtime" with a version lesser than "6.0.0".

    But, in the case of SDK, I can not make this logic just with the version available on the website. I need to know the exact version that is getting installed for which I need to install the product manually and I need to use that version to find out the machines which have a lower version of SDK than the targetted version of SDK. It makes my life a bit difficult.

    For SDK 6.0.100, I can not simply use the version given on the website. Because the actual version that is getting installed is different.

    Thanks again for your time.

    Regards,

    D.Dhanraj

    If SDK followed semantic versioning, it would have been a lot better for me.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.