Skip to content

Commit ead4201

Browse files
authored
fix warnings (#3081)
1 parent d2e7b8c commit ead4201

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

benchmark/Microsoft.IdentityModel.Benchmarks/Microsoft.IdentityModel.Benchmarks.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,9 @@
4747
<ProjectReference Include="..\..\src\Microsoft.IdentityModel.Protocols.SignedHttpRequest\Microsoft.IdentityModel.Protocols.SignedHttpRequest.csproj" />
4848
</ItemGroup>
4949

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

build/commonTest.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,10 @@
4949
</PackageReference>
5050
<AdditionalFiles Include="$(MSBuildThisFileDirectory)..\BannedSymbols.txt" />
5151
</ItemGroup>
52+
53+
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
54+
<!-- Suprpess the "Microsoft.Bcl.Memory 9.0.0 doesn't support net6.0 and has not been tested with it" warning -->
55+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
56+
</PropertyGroup>
5257

5358
</Project>

0 commit comments

Comments
 (0)