FrameworkName Property
Collapse the table of content
Expand the table of content

TargetFrameworkAttribute.FrameworkName Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the name of the .NET Framework version against which a particular assembly was compiled.

Namespace:  System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

public string FrameworkName { get; }

Property Value

Type: System.String
The name of the .NET Framework version with which the assembly was compiled.

The FrameworkName property maps to the frameworkName parameter of the TargetFrameworkAttribute constructor. It represents the .NET Framework version in a compact form.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft