Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native aot support #2786

Closed
MarcoRossignoli opened this issue Jun 1, 2023 · 1 comment
Closed

Native aot support #2786

MarcoRossignoli opened this issue Jun 1, 2023 · 1 comment

Comments

@MarcoRossignoli
Copy link

MarcoRossignoli commented Jun 1, 2023

microsoft.applicationinsights\2.21.0\lib\netstandard2.0\Microsoft.ApplicationInsights.dll warning IL2104: Assembly 'Microsoft.ApplicationInsights' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries

I got some warning when I try to build for native aot, is it supported?

cc: @Evangelink

@Yun-Ting
Copy link
Contributor

Yun-Ting commented Jun 6, 2023

Hi @MarcoRossignoli,

The direction is to use OpenTelemetry as the future of telemetry instrumentation:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-overview

There are plans (check out: open-telemetry/opentelemetry-dotnet#3429)
to make components in https://github.com/open-telemetry/opentelemetry-dotnet and https://github.com/open-telemetry/opentelemetry-dotnet-contrib AOT-compatible. And there is no plan to bring Application Insights to be AOT compatible.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants