Applications without a xref:System.Runtime.Versioning.TargetFrameworkAttribute?displayProperty=fullName applied at the assembly level will automatically run using the semantics (quirks) of the .NET Framework 4.0. To ensure high quality, it is recommended that all binaries be explicitly attributed with a xref:System.Runtime.Versioning.TargetFrameworkAttribute?displayProperty=fullName indicating the version of the .NET Framework they were built with. Note that using a target framework moniker in a project file will cause MSBuild to automatically apply a xref:System.Runtime.Versioning.TargetFrameworkAttribute?displayProperty=fullName.
A xref:System.Runtime.Versioning.TargetFrameworkAttribute?displayProperty=fullName should be supplied, either through adding the attribute directly to the assembly or by specifying a target framework in the project file or through Visual Studio's project properties GUI.
Name | Value |
---|---|
Scope | Major |
Version | 4.5 |
Type | Runtime |
Not detectable via API analysis.