deps: Bump Microsoft.NET.Test.Sdk from 18.3.0 to 18.5.1 #211
Annotations
1 error and 10 warnings
|
Build (Release, Zetian.slnx)
Process completed with exit code 1.
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L242
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L223
Avoid inexact read with 'System.Net.Sockets.NetworkStream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L52
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L52
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
Build (Release, Zetian.slnx):
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L74
Avoid inexact read with 'System.Net.Sockets.NetworkStream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
|
Build (Release, Zetian.slnx):
src/Zetian.Relay/Client/SmtpRelayClient.cs#L389
Possible null reference argument for parameter 'innerStream' in 'SslStream.SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback)'.
|
|
Build (Release, Zetian.slnx):
src/Zetian/Internal/SmtpSession.cs#L791
'SslStream.CipherAlgorithm' is obsolete: 'KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.' (https://aka.ms/dotnet-warnings/SYSLIB0058)
|
|
Build (Release, Zetian.slnx):
src/Zetian.Relay/Client/SmtpRelayClient.cs#L389
Possible null reference argument for parameter 'innerStream' in 'SslStream.SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback)'.
|