Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Diagnostic tools not working with v3 #3191

Description

@Marco-Mauri
  • 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:

Image

If instead the version was 3.x (tested with 3.1.2) the pane is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions