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