Delen via


…ok now, how to find .Net Version installed in any given environment?

There are few good ways available to find out which .Net Version is installed in any given environment.

You can try one of the following:

- Manually you can check it via registry editor (REGEDIT.exe). Refer https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

- Using C#.Net you can use System.Environment class to get the related info:

private static void GetFrameworkVersionInfo()
{
Console.WriteLine("Version: " + Environment.Version.ToString());
}

- Using Visual Studio Command Prompt, you can try - CLRVER command:

Deva blogs

- Using Windows PowerShell, I would have tried one of the following or the Windows PowerShell that I found in stackoverflow as well :

Deva blogs

Deva blogs

Hope this helps.

Comments

  • Anonymous
    December 21, 2015
    Very useful!

  • Anonymous
    December 22, 2015
    @Kjetil - Thanks. I am glad that the above helped!!