Skip to content

Commit 9b1c9e4

Browse files
Copilotstephentoub
andcommitted
Suppress TimeProvider.Testing net472 warning
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent 7c8e009 commit 9b1c9e4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/ModelContextProtocol.Tests/ModelContextProtocol.Tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
2222
</PropertyGroup>
2323

24+
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
25+
<!-- Suppress warning that Microsoft.Extensions.TimeProvider.Testing hasn't been tested with net472 -->
26+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
27+
</PropertyGroup>
28+
2429
<PropertyGroup>
2530
<!-- Without this, tests are currently not showing results until all tests complete
2631
https://xunit.net/docs/getting-started/v3/microsoft-testing-platform

0 commit comments

Comments
 (0)