Skip to content

Update AOT test app: net10.0 TFM, all AOT-compatible project refs, an…

b5bf7f6
Select commit
Loading
Failed to load commit list.
Draft

Enable AOT compatibility for Yarp.Kubernetes.Controller #3010

Update AOT test app: net10.0 TFM, all AOT-compatible project refs, an…
b5bf7f6
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft-reverse-proxy-ci failed Apr 8, 2026 in 1h 30m 46s

Build #20260408.24 failed

Details

Tests

  • Failed: 0 (0.00%)
  • Passed: 16,572 (99.45%)
  • Other: 91 (0.55%)
  • Total: 16,663

Annotations

Check failure on line 83 in src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft-reverse-proxy-ci

src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs#L83

src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs(83,46): error IL3050: (NETCORE_ENGINEERING_TELEMETRY=Build) Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.

Check failure on line 83 in src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft-reverse-proxy-ci

src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs#L83

src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs(83,46): error IL2026: (NETCORE_ENGINEERING_TELEMETRY=Build) Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Cannot statically analyze the type of instance so its members may be trimmed.

Check failure on line 115 in src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft-reverse-proxy-ci

src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs#L115

src\Kubernetes.Controller\Management\KubernetesReverseProxyServiceCollectionExtensions.cs(115,16): error IL2091: (NETCORE_ENGINEERING_TELEMETRY=Build) 'TService' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in 'Microsoft.Extensions.DependencyInjection.KubernetesReverseProxyServiceCollectionExtensions.RegisterResourceInformer<TResource, TService>(IServiceCollection, String)'. The generic parameter 'TService' of 'Microsoft.Extensions.DependencyInjection.KubernetesReverseProxyServiceCollectionExtensions.RegisterResourceInformer<TResource, TService>(IServiceCollection)' 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.

Check failure on line 83 in src/Kubernetes.Controller/Management/KubernetesReverseProxyServiceCollectionExtensions.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft-reverse-proxy-ci

src/Kubernetes.Controller/Management/KubernetesReverseProxyServiceCollectionExtensions.cs#L83

src/Kubernetes.Controller/Management/KubernetesReverseProxyServiceCollectionExtensions.cs(83,46): error IL3050: (NETCORE_ENGINEERING_TELEMETRY=Build) Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.