From e8236de43241e2f3e28e9bec7d8b79ac388a1e60 Mon Sep 17 00:00:00 2001 From: Saar Shen Date: Fri, 3 Apr 2026 16:33:45 -0700 Subject: [PATCH] Clamp Microsoft.ApplicationInsights to < 3.0.0 to prevent runtime crash Add upper version bound [2.23.0, 3.0.0) on Microsoft.ApplicationInsights and Microsoft.ApplicationInsights.AspNetCore packages to prevent TypeLoadException when users combine this library with Application Insights SDK 3.0.0, which removed ITelemetryInitializer. Fixes #389 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 603ed22..38153ab 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -6,8 +6,8 @@ - - + +