fix(appinsights): explicitly import JS module to fix undefined blazorApplicationInsights - #2
Merged
Annotations
11 warnings
|
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
src/Imagile.Framework.EntityFrameworkCore/Entities/EntityChange.cs#L116
Using member 'System.ComponentModel.DataAnnotations.MaxLengthAttribute.MaxLengthAttribute(Int32)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.
|
|
src/Imagile.Framework.EntityFrameworkCore/Entities/EntityChange.cs#L62
Using member 'System.ComponentModel.DataAnnotations.MaxLengthAttribute.MaxLengthAttribute(Int32)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.
|
|
src/Imagile.Framework.EntityFrameworkCore/Entities/EntityChange.cs#L106
Using member 'System.ComponentModel.DataAnnotations.MaxLengthAttribute.MaxLengthAttribute(Int32)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.
|
|
src/Imagile.Framework.Configuration/Extensions/ConfigurationValidationExtensions.cs#L115
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties()'. The return value of method 'System.Object.GetType()' 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.
|
|
src/Imagile.Framework.Configuration/Extensions/ConfigurationValidationExtensions.cs#L113
Using member 'System.ComponentModel.DataAnnotations.Validator.TryValidateObject(Object, ValidationContext, ICollection<ValidationResult>, Boolean)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Constructing a ValidationContext without a display name is not trim-safe because it uses reflection to discover the type of the instance being validated in order to resolve the DisplayNameAttribute when a display name is not provided.
|
|
src/Imagile.Framework.Configuration/Extensions/ConfigurationValidationExtensions.cs#L112
Using member 'System.ComponentModel.DataAnnotations.ValidationContext.ValidationContext(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Constructing a ValidationContext without a display name is not trim-safe because it uses reflection to discover the type of the instance being validated in order to resolve the DisplayNameAttribute when a display name is not provided.
|
|
src/Imagile.Framework.EntityFrameworkCore.Testing/Infrastructure/InMemoryDatabaseTest.cs#L50
Using member 'Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreatedAsync(CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Migrations operations require building the design-time model which is not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.
|
|
src/Imagile.Framework.Core/Extensions/EnumExtensions.cs#L29
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents' in call to 'System.Type.GetMember(String)'. The return value of method 'System.Object.GetType()' 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.
|
|
src/Imagile.Framework.Core/Extensions/EnumExtensions.cs#L53
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents' in call to 'System.Type.GetMember(String)'. The return value of method 'System.Object.GetType()' 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.
|
|
src/Imagile.Framework.EntityFrameworkCore.Testing/Infrastructure/InMemoryDatabaseTest.cs#L60
Using member 'Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureDeletedAsync(CancellationToken)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Migrations operations require building the design-time model which is not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.
|
The logs for this run have expired and are no longer available.
Loading