Lagrange.OneBot Release #5
Annotations
2 errors and 10 warnings
|
Build Lagrange.OneBot .NET 8.0
The operation was canceled.
|
Build Lagrange.OneBot .NET 8.0:
Lagrange.Core/Message/Entity/MultiMsgEntity.cs#L15
Using member 'System.Xml.Serialization.XmlSerializer.XmlSerializer(Type)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Members from serialized types may be trimmed if not referenced directly.
|
Build Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/WindowsSigner.cs#L31
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, String, TValue, JsonSerializerOptions, CancellationToken)' 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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/WindowsSigner.cs#L33
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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/MacSigner.cs#L31
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, String, TValue, JsonSerializerOptions, CancellationToken)' 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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/MacSigner.cs#L33
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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/LinuxSigner.cs#L43
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, String, TValue, JsonSerializerOptions, CancellationToken)' 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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/LinuxSigner.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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/Sign/LinuxSigner.cs#L66
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 Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/ServiceInjector.cs#L78
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructors()'. The parameter 'type' of method 'Lagrange.Core.Utility.ServiceInjector.Inject(Type, Object[])' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
Build Lagrange.OneBot .NET 8.0:
Lagrange.Core/Utility/ServiceInjector.cs#L52
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructors()'. The generic parameter 'TInject' of 'Lagrange.Core.Utility.ServiceInjector.Inject<TInject>(Object[])' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
The logs for this run have expired and are no longer available.
Loading