Skip to content

Commit 6a24100

Browse files
authored
Merge pull request #1387 from microsoft/dev/andarno/improvements
Bump API compat testing
2 parents 0cc78b1 + 96acc7e commit 6a24100

3 files changed

Lines changed: 3 additions & 24 deletions

File tree

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
3-
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4-
<Suppression>
5-
<DiagnosticId>CP0002</DiagnosticId>
6-
<Target>M:StreamJsonRpc.Reflection.MessageFormatterProgressTracker.CreateProgress(StreamJsonRpc.JsonRpc,System.Object,System.Type)</Target>
7-
<Left>lib/net8.0/StreamJsonRpc.dll</Left>
8-
<Right>lib/net8.0/StreamJsonRpc.dll</Right>
9-
<IsBaselineSuppression>true</IsBaselineSuppression>
10-
</Suppression>
11-
<Suppression>
12-
<DiagnosticId>CP0002</DiagnosticId>
13-
<Target>M:StreamJsonRpc.Reflection.MessageFormatterProgressTracker.CreateProgress(StreamJsonRpc.JsonRpc,System.Object,System.Type)</Target>
14-
<Left>lib/netstandard2.0/StreamJsonRpc.dll</Left>
15-
<Right>lib/netstandard2.0/StreamJsonRpc.dll</Right>
16-
<IsBaselineSuppression>true</IsBaselineSuppression>
17-
</Suppression>
18-
<Suppression>
19-
<DiagnosticId>CP0002</DiagnosticId>
20-
<Target>M:StreamJsonRpc.Reflection.MessageFormatterProgressTracker.CreateProgress(StreamJsonRpc.JsonRpc,System.Object,System.Type)</Target>
21-
<Left>lib/netstandard2.1/StreamJsonRpc.dll</Left>
22-
<Right>lib/netstandard2.1/StreamJsonRpc.dll</Right>
23-
<IsBaselineSuppression>true</IsBaselineSuppression>
24-
</Suppression>
25-
</Suppressions>
3+
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />

src/StreamJsonRpc/StreamJsonRpc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<!-- Enable warnings regarding AOT compatibility. Learn more about testing strategies at https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/ -->
1313
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
1414
<EnableStreamJsonRpcInterceptors>false</EnableStreamJsonRpcInterceptors>
15-
<PackageValidationBaselineVersion>2.22.11</PackageValidationBaselineVersion>
15+
<PackageValidationBaselineVersion>2.24.84</PackageValidationBaselineVersion>
1616
</PropertyGroup>
1717
<ItemGroup>
1818
<EmbeddedResource Update="Resources.resx" EmitFormatMethods="true" />

test/NativeAOTCompatibility.Test/NativeAOTCompatibility.Test.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<TrimmerSingleWarn>false</TrimmerSingleWarn>
77
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
88
<EnableStreamJsonRpcInterceptors>true</EnableStreamJsonRpcInterceptors>
9+
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
910
<IsTestProject>false</IsTestProject>
1011
</PropertyGroup>
1112

0 commit comments

Comments
 (0)