Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Compiler consant for minimum framework version
neeeds to be in Directory.Build.targets to be included
after SDK's TargetFrameworkIdentifier/-Version inference
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NetCoreApp'
and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '5.0'))">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment