Skip to content

Commit 60ffba4

Browse files
[Resources.Gcp] Replace .NET 6 target with .NET 8 (open-telemetry#2167)
Co-authored-by: joegoldman2 <[email protected]> Co-authored-by: Mikel Blanchard <[email protected]>
1 parent cc6d06a commit 60ffba4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/OpenTelemetry.Resources.Gcp/OpenTelemetry.Resources.Gcp.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
3-
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
4-
<Description>OpenTelemetry Resource Detectors for Google Cloud Platform environments</Description>
4+
<TargetFrameworks>net8.0;$(NetStandardMinimumSupportedVersion)</TargetFrameworks>
5+
<Description>OpenTelemetry Resource Detectors for Google Cloud Platform environments.</Description>
56
<PackageTags>$(PackageTags);ResourceDetector</PackageTags>
67
<MinVerTagPrefix>Resources.Gcp-</MinVerTagPrefix>
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>
@@ -24,4 +25,5 @@
2425
<Compile Include="$(RepoRoot)\src\Shared\Guard.cs" Link="Includes\Guard.cs" />
2526
<Compile Include="$(RepoRoot)\src\Shared\ResourceSemanticConventions.cs" Link="Includes\ResourceSemanticConventions.cs" />
2627
</ItemGroup>
28+
2729
</Project>

test/OpenTelemetry.Resources.Gcp.Tests/OpenTelemetry.Resources.Gcp.Tests.csproj

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

33
<PropertyGroup>
4-
<Description>Unit test project for GCP Detector for OpenTelemetry</Description>
54
<!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
6-
<TargetFrameworks>$(SupportedNetTargets)</TargetFrameworks>
5+
<TargetFrameworks>$(SupportedNetTargetsWithoutNet6)</TargetFrameworks>
76
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);$(NetFrameworkMinimumSupportedVersion)</TargetFrameworks>
7+
<Description>Unit test project for GCP Detector for OpenTelemetry.</Description>
88
</PropertyGroup>
99

1010
<ItemGroup>

0 commit comments

Comments
 (0)