What version of the .NET runtime is required for software written in .NET 4.5?

This is a simple question. I am writing software with .NET 4.5 (now it is Beta). What version of the .NET runtime is required to run this software? Is it 4.5? Is someone older?

Also, does .NET update part of Windows Update?

+3
source share
5 answers

To run 4.5 compiled assemblies, you must have version 4.5 installed. Installation 4.5 is an update that is mostly compatible with version 4.0, but certainly does not support backward compatibility.

, , - . 4.5 ( 1100 ). - , , A B. CLR A B.

, 4.5, , B. 4.0, , B, , .

:

static void Main(string[] args)
{
    var attrib = new ExtensionAttribute();
    Console.WriteLine(attrib);
}

4.5, 4.0. . ExtensionAttribute System.Core 4.0 mscorlib 4.5

+7

, : " .NET 4.5?"

http://msdn.microsoft.com/en-us/library/5a4x27ek

, 4.5 Windows XP - ​​ ( > 10 )
, , !

4.5 :

  • Windows 8 (32- 64- )
  • Windows 7 (32- 64- )
  • Windows Vista SP2 (32- 64- )

  • Windows Server 2012 (64- )
  • Windows Server 2008 R2 (64- )
  • Windows Server 2008 2 (32- 64- )
+2

.Net 4.0. 4.5 - .Net . CLR .

#, , CLR 4.0 IL.

http://www.infoq.com/news/2012/04/net-4-5-multitargeting

+1

It depends on whether you are writing a Metro-style application. For Metro style apps (Windows 8), you are actually using a subset of the .NET 4.5 platform with the Metro-only special environment. For all other applications, .NET 4.5 uses the .NET 4.0 runtime with additional libraries (similar to how .NET 3.0 and .NET 3.5 can work in the .NET 2.0 runtime).

+1
source

CLR version 1.0, 1.1, 2.0, and 4.0. Other versions of the .NET Framework simply provide additional types..NET 3 and 3.5 run on CLR 2.0..NET 4.5 run on CLR 4.

Note. To run 4.5 applications, .NET 4.5 is required.

+1
source

All Articles