Skip to content

Commit 2a0f7cb

Browse files
[Instrumentation.Quartz] Replace .NET 6 target with .NET 8 for test project (open-telemetry#2154)
Co-authored-by: joegoldman2 <[email protected]> Co-authored-by: Mikel Blanchard <[email protected]>
1 parent 4946b2a commit 2a0f7cb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/OpenTelemetry.Instrumentation.Quartz/OpenTelemetry.Instrumentation.Quartz.csproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
4+
<TargetFrameworks>$(NetStandardMinimumSupportedVersion)</TargetFrameworks>
35
<Description>OpenTelemetry Quartz.NET Instrumentation</Description>
46
<PackageTags>$(PackageTags);distributed-tracing</PackageTags>
57
<MinVerTagPrefix>Instrumentation.Quartz-</MinVerTagPrefix>
6-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
78
</PropertyGroup>
89

9-
<!--Do not run Package Baseline Validation as this package has never released a stable version.
10-
Remove this property once we have released a stable version and add PackageValidationBaselineVersion property.-->
10+
<!-- Do not run Package Baseline Validation as this package has never released a stable version.
11+
Remove this property once we have released a stable version and add PackageValidationBaselineVersion property. -->
1112
<PropertyGroup>
1213
<DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
1314
</PropertyGroup>
@@ -26,4 +27,5 @@
2627
<Compile Include="$(RepoRoot)\src\Shared\ListenerHandler.cs" Link="Includes\ListenerHandler.cs" />
2728
<Compile Include="$(RepoRoot)\src\Shared\PropertyFetcher.AOT.cs" Link="Includes\PropertyFetcher.AOT.cs" />
2829
</ItemGroup>
30+
2931
</Project>

test/OpenTelemetry.Instrumentation.Quartz.Tests/OpenTelemetry.Instrumentation.Quartz.Tests.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Description>Unit test project for OpenTelemetry Quartz.NET instrumentation</Description>
5-
<TargetFrameworks>$(SupportedNetTargets)</TargetFrameworks>
4+
<TargetFrameworks>$(SupportedNetTargetsWithoutNet6)</TargetFrameworks>
65
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
6+
<Description>Unit test project for OpenTelemetry Quartz.NET instrumentation.</Description>
77
</PropertyGroup>
88

99
<ItemGroup>
@@ -20,4 +20,5 @@
2020
<Compile Include="$(RepoRoot)\src\Shared\SemanticConventions.cs" Link="Includes\SemanticConventions.cs" />
2121
<Compile Include="$(RepoRoot)\src\Shared\SpanAttributeConstants.cs" Link="Includes\SpanAttributeConstants.cs" />
2222
</ItemGroup>
23+
2324
</Project>

0 commit comments

Comments
 (0)