Upgrade to .NET 9 #116
Annotations
2 errors and 20 warnings
Build & Test using 9.x on macos-latest
Process completed with exit code 1.
|
Build & Test using 9.x on ubuntu-latest
Process completed with exit code 1.
|
Build & Test using 9.x on ubuntu-latest:
PubNet.Auth/Models/JsonWebToken.cs#L45
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 & Test using 9.x on ubuntu-latest:
PubNet.Auth/Models/JsonWebToken.cs#L45
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 & Test using 9.x on ubuntu-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L196
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 & Test using 9.x on ubuntu-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L196
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 & Test using 9.x on ubuntu-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L180
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 & Test using 9.x on ubuntu-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L180
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 & Test using 9.x on ubuntu-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L145
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 & Test using 9.x on ubuntu-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L145
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 & Test using 9.x on ubuntu-latest:
Worker/PubNet.Worker/Services/DartCli.cs#L60
'DartCli.InvokeDart(string, string, CancellationToken)' is obsolete: 'Rewrite usage of this class to use CliWrap instead (https://github.com/ricardoboss/PubNet/issues/6)'
|
Build & Test using 9.x on ubuntu-latest:
Worker/PubNet.Worker/Tasks/ReadmeAnalyzerTask.cs#L44
'ArchiveHelper' is obsolete: 'Use IArchiveReader instead'
|
Build & Test using 9.x on windows-latest:
PubNet.Auth/Models/JsonWebToken.cs#L45
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 & Test using 9.x on windows-latest:
PubNet.Auth/Models/JsonWebToken.cs#L45
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 & Test using 9.x on windows-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L145
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 & Test using 9.x on windows-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L145
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 & Test using 9.x on windows-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L180
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 & Test using 9.x on windows-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L180
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 & Test using 9.x on windows-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L196
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 & Test using 9.x on windows-latest:
Storage/PubNet.BlobStorage.LocalFileBlobStorage/LocalFileBlobStorage.cs#L196
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 & Test using 9.x on windows-latest:
Worker/PubNet.Worker/Services/DartCli.cs#L60
'DartCli.InvokeDart(string, string, CancellationToken)' is obsolete: 'Rewrite usage of this class to use CliWrap instead (https://github.com/ricardoboss/PubNet/issues/6)'
|
Build & Test using 9.x on windows-latest:
Worker/PubNet.Worker/Services/DartCli.cs#L65
'DartCli.InvokeDart(string, string, CancellationToken)' is obsolete: 'Rewrite usage of this class to use CliWrap instead (https://github.com/ricardoboss/PubNet/issues/6)'
|