Skip to content

Microsoft.Testing.Extensions.Telemetry blocked from upgrading to latest Microsoft.ApplicationInsights #7465

@johnthcall

Description

@johnthcall

I was looking into an issue where Microsoft.Testing.Extensions.Telemetry on .net 9 was still fetching System.Diagnostics.DiagnosticSource 5.0.0 due to Microsoft.ApplicationInsights dependency. I noticed that Microsoft.ApplicationInsights has released major version 3 which no longer has System.Diagnostics.DiagnosticSource however it no longer supports netStandard2.0 as part of microsoft/ApplicationInsights-dotnet#3091.

Microsoft.Testing.Extensions.Telemetry and Microsoft.Testing.Extensions.VSTestBridge will need to choose a route:

  1. Drop netStandard2.0 in favor of .NETFramework 4.6.2 or higher
  2. See if ApplicationInsights restores NetStandard2.0 (dropped due to difficulty with OpenTelemetry Dropped .Net Standard 2.0 in 3.0.0 causes dependent package complications ApplicationInsights-dotnet#3130)
  3. Forever stay on Microsoft.ApplicationInsights 2.23.0
  4. Drop ApplicationInsights support

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MTPBelongs to the Microsoft.Testing.Platform core library

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions