…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:
- Using Windows PowerShell, I would have tried one of the following or the Windows PowerShell that I found in stackoverflow as well :
Hope this helps.