refactor: split external interfaces to independent Lip.Context package #798
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run dotnet publish Lip.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageLock.cs#L84
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageLock.cs#L95
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageLock.cs#L84
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageLock.cs#L95
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L395
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/PackageManifest.cs#L395
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfig.cs#L68
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfig.cs#L68
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfig.cs#L55
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.CLI --configuration Release --output bin --runtime linux-x64 -p:OptimizationPreference=Size -p:PublishAot=true:
Lip/RuntimeConfig.cs#L55
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.
|
Loading