Search code examples
c#asp.net.net-core.net-6.0

Package 'Microsoft.AspNet.TelemetryCorrelation 1.0.8' was restored


Any idea how to solve this. I tried updating nuget packages. But it did not solve the problem. TargetFramework is net6.0.

enter image description here

enter image description here


Solution

  • Error is very clear from the error message.

    This package doesn't support .Net 6.

    It supports only the .net framework, not the .net core. So you should not use it in .Net 6 target framework apps.

    enter image description here

    enter image description here

    Microsoft.ApplicationInsights.Web also doesn't support .Net 6.

    enter image description here