Skip to content

chore(build): 🛠 optimize publish settings for size #14

chore(build): 🛠 optimize publish settings for size

chore(build): 🛠 optimize publish settings for size #14

Triggered via push February 25, 2026 00:06
Status Success
Total duration 8m 9s
Artifacts 10
Matrix: publish
Fit to window
Zoom out
Zoom in

Annotations

80 warnings
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish linux-x64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish win-arm64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish win-x64: src/EcoFlow.Mqtt.Api/Services/InternalHttpApi.cs#L34
Using member 'System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync<T>(HttpContent, CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-x64: src/EcoFlow.Mqtt.Api/Services/InternalHttpApi.cs#L34
Using member 'System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync<T>(HttpContent, 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.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x86: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish win-x86: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish win-x86: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish linux-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-x64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/Extensions/ProtobufExtensions.cs#L23
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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L71
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L70
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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 the overload that takes a JsonTypeInfo or JsonSerializerContext.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L65
Using member 'Microsoft.AspNetCore.Http.Results.Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)' 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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.
Publish osx-arm64: src/EcoFlow.Mqtt.Api/EntryPoint.cs#L64
Using member 'System.Text.Json.JsonSerializer.SerializeToNode<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.

Artifacts

Produced during runtime
Name Size Digest
EcoFlow-Mqtt-Api-linux-arm
31.7 MB
sha256:13ed35788e8c4903494f437d557352ef2fe3e3fb46c3b3a7c7ac7eb0e5e44ae6
EcoFlow-Mqtt-Api-linux-arm64
29.6 MB
sha256:f38f507cd160a242d47ab4fe56f715f0655495904b07bfb298f86b3f79671841
EcoFlow-Mqtt-Api-linux-musl-arm64
30 MB
sha256:714632f3a34f16f5ede44efa99a59e02e82502b4b2be0da0c2fe0993a7749401
EcoFlow-Mqtt-Api-linux-musl-x64
30.8 MB
sha256:9327685d517685a5b97fc2f9377fa01ebdb23151394eb259e8668ee51b6070e3
EcoFlow-Mqtt-Api-linux-x64
30.4 MB
sha256:d40edd819c37795d99e954461a5d00a0c3f6789baba011d14ce81a5d372ede75
EcoFlow-Mqtt-Api-osx-arm64
26.7 MB
sha256:8008f75a850a1ab8d492f4d439e95928ea09c2234a2824e5d5b82a2688b047e8
EcoFlow-Mqtt-Api-osx-x64
29.2 MB
sha256:ea40f6d642e69789c29e456f6a8fffaae1f80a3b34f1879c51947a3ad8f15224
EcoFlow-Mqtt-Api-win-arm64
36.8 MB
sha256:8dc2a8241b31d1cea8fce1a4ce4710a1bcbf88c170d02b6392443a96c3152111
EcoFlow-Mqtt-Api-win-x64
37.5 MB
sha256:8bda364f55165c1d09ca6a3b7680a0d2cc4441a88d7ee04e57fe33e71622223f
EcoFlow-Mqtt-Api-win-x86
37.1 MB
sha256:b7604a2afd2b6519656c0200c39d4df960142273b5fc8f9450f45e5e2198339a