Schema v3 #744
Annotations
10 warnings
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfiguration.cs#L62
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfiguration.cs#L62
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfiguration.cs#L54
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, 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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfiguration.cs#L54
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, 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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L166
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonElement, 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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L166
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonElement, 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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L178
Using member 'System.Text.Json.JsonSerializer.SerializeToElement<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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L178
Using member 'System.Text.Json.JsonSerializer.SerializeToElement<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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L271
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<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.
|
Run dotnet publish Lip/Lip.csproj -c Release -o bin -r win-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L271
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<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.
|
Loading