Member predicate TargetFrameworkAttribute::getFrameworkVersion
Gets the framework version of this attribute. For example, the framework version of
[assembly: TargetFramework(".NETFramework,Version=v4.6.1")]
is "4.6.1"
. Note that you can use the Version
class to compare versions, for example
target.getFrameworkVersion().isEarlierThan("4.6")
.