Description
Native AOT trimsEventSource by default. If your application uses OpenTelemetry or other EventSource-based diagnostics, you must enable EventSourceSupport in the project file.
Bad Code
Good Code
Properties
- Category: Configuration
- Severity: Warning
- Enabled by default: True
- Code fix available: False
