refactor use webHostEnvironment.BaseAddress directly #226
build-blazor-app.yml
on: push
build-test-deploy
3m 57s
Annotations
11 warnings
build-test-deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-test-deploy:
BaseComponents/ContentHeader.razor#L57
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
|
build-test-deploy:
BaseComponents/ContentHead.razor#L114
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
|
build-test-deploy:
HTTPClientDemoComponents/ReadWithCancellationDemo.razor#L48
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, 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-test-deploy:
HTTPClientDemoComponents/ReadAsStringDemo.razor#L43
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-test-deploy:
HTTPClientDemoComponents/ReadAsStreamDemo.razor#L43
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, 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-test-deploy:
BlazorDemoComponents/SecuringWithOIDCAuthorizationDemo.razor#L23
Non-nullable property 'AuthenticationStateTask' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build-test-deploy
'TValue' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in 'Microsoft.AspNetCore.Components.Forms.InputSelect<TValue>'. The generic parameter 'TValue' of '__Blazor.BlazorDemoComponents.EditFormModelDemo.TypeInference.CreateInputSelect_0<TValue>(RenderTreeBuilder, Int32, Int32, Object, Int32, TValue, Int32, EventCallback<TValue>, Int32, Expression<Func<TValue>>, Int32, RenderFragment)' 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-test-deploy
'TValue' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in 'Microsoft.AspNetCore.Components.Forms.InputNumber<TValue>'. The generic parameter 'TValue' of '__Blazor.BlazorDemoComponents.EditFormModelDemo.TypeInference.CreateInputNumber_1<TValue>(RenderTreeBuilder, Int32, Int32, Object, Int32, TValue, Int32, EventCallback<TValue>, Int32, Expression<Func<TValue>>)' 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-test-deploy
'TValue' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in 'Microsoft.AspNetCore.Components.Forms.InputDate<TValue>'. The generic parameter 'TValue' of '__Blazor.BlazorDemoComponents.EditFormModelDemo.TypeInference.CreateInputDate_2<TValue>(RenderTreeBuilder, Int32, Int32, Object, Int32, TValue, Int32, EventCallback<TValue>, Int32, Expression<Func<TValue>>)' 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-test-deploy:
BlazorDemoComponents/AppSettingsConfiguration.razor#L35
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
blazor-build-artifacts
|
143 MB |
|
ilovedotnet-test-report
Expired
|
489 KB |
|