Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AppContext::TargetFrameworkName Property

 

Gets the name of the framework version targeted by the current application.

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

public:
property String^ TargetFrameworkName {
	static String^ get();
}

Property Value

Type: System::String^

The name of the framework version targeted by the current application.

The name of the target framework version corresponds to the value of the TargetFrameworkAttribute::FrameworkName property. For a list of target framework names for the .NET Framework, see the <supportedRuntime> Element element.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft