Skip to content

🎉 Initial commit: Gemini Client Console v1.0.0 #1

🎉 Initial commit: Gemini Client Console v1.0.0

🎉 Initial commit: Gemini Client Console v1.0.0 #1

Triggered via push August 7, 2025 13:53
Status Success
Total duration 1m 26s
Artifacts

ci.yml

on: push
Matrix: Build and Test
Code Quality Checks
30s
Code Quality Checks
Security Scan
22s
Security Scan
Test Publish
0s
Test Publish
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 65 warnings, and 6 notices
Code Quality Checks: GeminiClient/Models/GeminiResponse.cs#L27
Change 'SafetyRatings' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Code Quality Checks: GeminiClient/Models/GeminiResponse.cs#L10
Change 'List<Candidate>' in 'GeminiResponse.Candidates' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Code Quality Checks: GeminiClient/Models/GeminiResponse.cs#L10
Change 'Candidates' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Code Quality Checks: GeminiClient/Models/GeminiRequest.cs#L9
Change 'List<Content>' in 'GeminiRequest.Contents' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Code Quality Checks: GeminiClient/Models/GeminiRequest.cs#L15
Change 'List<Part>' in 'Content.Parts' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Code Quality Checks: GeminiClient/Models/GeminiModel.cs#L52
Change 'List<GeminiModel>' in 'ModelsListResponse.Models' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Code Quality Checks: GeminiClient/Models/GeminiModel.cs#L52
Change 'Models' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Code Quality Checks: GeminiClient/Models/GeminiRequest.cs#L9
Change 'Contents' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Code Quality Checks: GeminiClient/Models/GeminiRequest.cs#L15
Change 'Parts' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Code Quality Checks: GeminiClient/GeminiApiException.cs#L4
Add the following constructor to GeminiApiException: public GeminiApiException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Code Quality Checks
Process completed with exit code 2.
Build and Test (ubuntu-latest, Debug): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (ubuntu-latest, Debug): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (ubuntu-latest, Debug): GeminiClient/ModelService.cs#L49
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.
Build and Test (ubuntu-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (ubuntu-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (ubuntu-latest, Debug): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (ubuntu-latest, Debug): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (ubuntu-latest, Debug): GeminiClient/ModelService.cs#L49
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.
Build and Test (ubuntu-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (ubuntu-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (ubuntu-latest, Release): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (ubuntu-latest, Release): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (ubuntu-latest, Release): GeminiClient/ModelService.cs#L49
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.
Build and Test (ubuntu-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (ubuntu-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (ubuntu-latest, Release): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (ubuntu-latest, Release): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (ubuntu-latest, Release): GeminiClient/ModelService.cs#L49
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.
Build and Test (ubuntu-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (ubuntu-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (macos-latest, Release): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (macos-latest, Release): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (macos-latest, Release): GeminiClient/ModelService.cs#L49
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.
Build and Test (macos-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (macos-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (macos-latest, Release): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (macos-latest, Release): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (macos-latest, Release): GeminiClient/ModelService.cs#L49
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.
Build and Test (macos-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (macos-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Code Quality Checks: GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Code Quality Checks: GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Code Quality Checks: GeminiClient/ModelService.cs#L49
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.
Code Quality Checks: GeminiClient/GeminiApiClient.cs#L78
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.
Code Quality Checks: GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (macos-latest, Debug): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (macos-latest, Debug): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (macos-latest, Debug): GeminiClient/ModelService.cs#L49
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.
Build and Test (macos-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (macos-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (macos-latest, Debug): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (macos-latest, Debug): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (macos-latest, Debug): GeminiClient/ModelService.cs#L49
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.
Build and Test (macos-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (macos-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (windows-latest, Release): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (windows-latest, Release): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (windows-latest, Release): GeminiClient/ModelService.cs#L49
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.
Build and Test (windows-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (windows-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (windows-latest, Release): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (windows-latest, Release): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (windows-latest, Release): GeminiClient/ModelService.cs#L49
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.
Build and Test (windows-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (windows-latest, Release): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (windows-latest, Debug): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (windows-latest, Debug): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (windows-latest, Debug): GeminiClient/ModelService.cs#L49
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.
Build and Test (windows-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (windows-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (windows-latest, Debug): GeminiClient/GeminiApiClient.cs#L78
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.
Build and Test (windows-latest, Debug): GeminiClient/GeminiApiClient.cs#L68
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<TValue>(HttpClient, Uri, TValue, 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 and Test (windows-latest, Debug): GeminiClient/ModelService.cs#L49
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.
Build and Test (windows-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderDataAnnotationsExtensions.ValidateDataAnnotations<TOptions>(OptionsBuilder<TOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses DataAnnotationValidateOptions which is unsafe given that the options type passed in when calling Validate cannot be statically analyzed so its members may be trimmed.
Build and Test (windows-latest, Debug): GeminiClient/ServiceCollectionExtensions.cs#L20
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
Build and Test (macos-latest, Release)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Build and Test (macos-latest, Release)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Build and Test (macos-latest, Debug)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Build and Test (macos-latest, Debug)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Build and Test (windows-latest, Release)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Build and Test (windows-latest, Debug)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677