- Microsoft.ApplicationInsights.AspNetCore 3.12:
- Runtime version Microsoft.NET.Sdk.Web net10.0:
Describe the bug
If I migrate an ASP.NET application from using Microsoft.ApplicationInsights.AspNetCore 2.x to 3.x when I locally debug the application I lose the integration with the Events tab of the Diagnostic Tools of visual studio 2026
To Reproduce
Create through the visual studio 2026 new solution wizard an empty Asp.net core Web APi application.
Install the Microsoft.ApplicationInsights.AspNetCore package and add the following line in the Program.cs file:
builder.Services.AddApplicationInsightsTelemetry();
If the package added was version 2.x simply debugging the application will correctly show all events in the Diagnostic Tool Pane as shown below:
If instead the version was 3.x (tested with 3.1.2) the pane is empty
Describe the bug
If I migrate an ASP.NET application from using Microsoft.ApplicationInsights.AspNetCore 2.x to 3.x when I locally debug the application I lose the integration with the Events tab of the Diagnostic Tools of visual studio 2026
To Reproduce
Create through the visual studio 2026 new solution wizard an empty Asp.net core Web APi application.
Install the Microsoft.ApplicationInsights.AspNetCore package and add the following line in the Program.cs file:
builder.Services.AddApplicationInsightsTelemetry();
If the package added was version 2.x simply debugging the application will correctly show all events in the Diagnostic Tool Pane as shown below:
If instead the version was 3.x (tested with 3.1.2) the pane is empty