Skip to content

Commit

Permalink
Add net6.0 specific property group
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaozhang authored Jan 7, 2025
1 parent 41e6c0b commit f3603e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@
<NetStandardImplicitPackageVersion>$(NetStandardVersion)</NetStandardImplicitPackageVersion>
<LangVersion>13</LangVersion>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<!-- Suprpess the "Microsoft.Bcl.Memory 9.0.0 doesn't support net6.0 and has not been tested with it" warning -->
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>


<PropertyGroup>
<EnablePackageValidation>false</EnablePackageValidation>
<PackageValidationBaselineVersion>8.0.0</PackageValidationBaselineVersion>
Expand Down

0 comments on commit f3603e6

Please sign in to comment.