diff --git a/Directory.Packages.props b/Directory.Packages.props index 566c7671d1e..d99d52d2c5d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -77,7 +77,6 @@ - diff --git a/build/Common.props b/build/Common.props index ab68021f5d5..69a8e7d1d95 100644 --- a/build/Common.props +++ b/build/Common.props @@ -26,7 +26,7 @@ net8.0;net7.0;net6.0 net8.0 net7.0;net6.0 - + $(TargetFrameworksForDocs);net481;net48;net472;net471;net47;net462 net8.0;net7.0;net6.0 diff --git a/docs/trace/getting-started-jaeger/Program.cs b/docs/trace/getting-started-jaeger/Program.cs index 22b274f8688..d6c5cded32b 100644 --- a/docs/trace/getting-started-jaeger/Program.cs +++ b/docs/trace/getting-started-jaeger/Program.cs @@ -15,7 +15,7 @@ // using System.Diagnostics; -#if !NET6_0_OR_GREATER +#if NETFRAMEWORK using System.Net.Http; #endif using OpenTelemetry; diff --git a/docs/trace/getting-started-jaeger/getting-started-jaeger.csproj b/docs/trace/getting-started-jaeger/getting-started-jaeger.csproj index 543e6766445..19bcfb68247 100644 --- a/docs/trace/getting-started-jaeger/getting-started-jaeger.csproj +++ b/docs/trace/getting-started-jaeger/getting-started-jaeger.csproj @@ -4,7 +4,8 @@ + - + diff --git a/test/OpenTelemetry.Instrumentation.Http.Tests/OpenTelemetry.Instrumentation.Http.Tests.csproj b/test/OpenTelemetry.Instrumentation.Http.Tests/OpenTelemetry.Instrumentation.Http.Tests.csproj index 3949b285f25..069a2a64547 100644 --- a/test/OpenTelemetry.Instrumentation.Http.Tests/OpenTelemetry.Instrumentation.Http.Tests.csproj +++ b/test/OpenTelemetry.Instrumentation.Http.Tests/OpenTelemetry.Instrumentation.Http.Tests.csproj @@ -15,7 +15,6 @@ - @@ -25,6 +24,10 @@ + + + + PreserveNewest