Closed andrejohansson closed 5 years ago
I tried an app with System.Diagnostic.performance counter, and added applicationinsights. I dont see this warning generated.
Can you share a repro app for us to investigate more?
@cijothomas when I started to create the repro app I noticed I had:
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
in my csproj...removing this helped and the warning disappeared.
Repro Steps
I am trying to follow the aspnetcore 3.0 migration guide, and I'm down to two warnings when building and I'm fairly sure these are caused by this package. Issue #932 states that version 2.8.0 should fully support aspnet core 3.0 but it seems some reference is of/not updated. Or I have some other configuration wrong in my project file.
Actual Behavior
The conflicts I get is are:
And the detailed diagnostic logs for each of them are:
Expected Behavior
No warnings when I build.
Version Info
SDK Version (version of https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) : 2.8.0 .NET Core Version (TargetFramework in your .csproj file) : netcoreapp3.0
How Application was onboarded with SDK(Installed Nugets/VisualStudio/Azure WebAppExtension) : Installed Nugets OS : Windows 10 Hosting Info (IIS/Azure Web Apps/Running From Visual Studio etc) : Azure Web App (Linux Docker)