From b0038ae9b39df9360221eaf102416c4f15cc07b3 Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Mon, 2 Oct 2023 19:15:15 -0700 Subject: [PATCH] Use TFM specific package version (#4911) --- Directory.Packages.props | 15 +++++++++++++-- ...y.Exporter.OpenTelemetryProtocol.Tests.csproj | 16 ++++------------ ...y.Exporter.Prometheus.AspNetCore.Tests.csproj | 10 +--------- ...OpenTelemetry.Extensions.Hosting.Tests.csproj | 10 +--------- ...metry.Instrumentation.AspNetCore.Tests.csproj | 10 +--------- 5 files changed, 20 insertions(+), 41 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 9e283fcd84a..566c7671d1e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -62,8 +62,6 @@ - - @@ -85,4 +83,17 @@ + + + + + + + + + + + + + diff --git a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.csproj b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.csproj index e93beb327d5..70b701da252 100644 --- a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.csproj +++ b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.csproj @@ -7,24 +7,16 @@ + + + + runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - diff --git a/test/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests.csproj b/test/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests.csproj index e93f4d2e3ed..4d01b88f6bc 100644 --- a/test/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests.csproj +++ b/test/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests/OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests.csproj @@ -9,6 +9,7 @@ + @@ -23,14 +24,6 @@ - - - - - - - - @@ -40,5 +33,4 @@ - diff --git a/test/OpenTelemetry.Extensions.Hosting.Tests/OpenTelemetry.Extensions.Hosting.Tests.csproj b/test/OpenTelemetry.Extensions.Hosting.Tests/OpenTelemetry.Extensions.Hosting.Tests.csproj index 5a6e303401b..752fb95709e 100644 --- a/test/OpenTelemetry.Extensions.Hosting.Tests/OpenTelemetry.Extensions.Hosting.Tests.csproj +++ b/test/OpenTelemetry.Extensions.Hosting.Tests/OpenTelemetry.Extensions.Hosting.Tests.csproj @@ -18,6 +18,7 @@ + @@ -26,13 +27,4 @@ runtime; build; native; contentfiles; analyzers - - - - - - - - - diff --git a/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/OpenTelemetry.Instrumentation.AspNetCore.Tests.csproj b/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/OpenTelemetry.Instrumentation.AspNetCore.Tests.csproj index 63b7ec9c6b3..fac096659c7 100644 --- a/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/OpenTelemetry.Instrumentation.AspNetCore.Tests.csproj +++ b/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/OpenTelemetry.Instrumentation.AspNetCore.Tests.csproj @@ -7,6 +7,7 @@ + @@ -26,13 +27,4 @@ - - - - - - - - -