We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588679a commit 8e6604dCopy full SHA for 8e6604d
src/Directory.Build.props
@@ -43,6 +43,14 @@
43
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_1</DefineConstants>
44
</PropertyGroup>
45
46
+ <PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
47
+ <DefineConstants>$(DefineConstants);NET50</DefineConstants>
48
+ </PropertyGroup>
49
+
50
+ <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0' ">
51
+ <DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
52
53
54
<ItemGroup>
55
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
56
</ItemGroup>
0 commit comments