diff --git a/src/OpenTelemetry.Resources.Gcp/OpenTelemetry.Resources.Gcp.csproj b/src/OpenTelemetry.Resources.Gcp/OpenTelemetry.Resources.Gcp.csproj
index 02fc5995bd..940fb756f3 100644
--- a/src/OpenTelemetry.Resources.Gcp/OpenTelemetry.Resources.Gcp.csproj
+++ b/src/OpenTelemetry.Resources.Gcp/OpenTelemetry.Resources.Gcp.csproj
@@ -1,13 +1,14 @@
+
- net6.0;netstandard2.0
- OpenTelemetry Resource Detectors for Google Cloud Platform environments
+ net8.0;$(NetStandardMinimumSupportedVersion)
+ OpenTelemetry Resource Detectors for Google Cloud Platform environments.
$(PackageTags);ResourceDetector
Resources.Gcp-
-
+
true
@@ -24,4 +25,5 @@
+
diff --git a/test/OpenTelemetry.Resources.Gcp.Tests/OpenTelemetry.Resources.Gcp.Tests.csproj b/test/OpenTelemetry.Resources.Gcp.Tests/OpenTelemetry.Resources.Gcp.Tests.csproj
index e1df281415..663e1e5a41 100644
--- a/test/OpenTelemetry.Resources.Gcp.Tests/OpenTelemetry.Resources.Gcp.Tests.csproj
+++ b/test/OpenTelemetry.Resources.Gcp.Tests/OpenTelemetry.Resources.Gcp.Tests.csproj
@@ -1,10 +1,10 @@
- Unit test project for GCP Detector for OpenTelemetry
- $(SupportedNetTargets)
+ $(SupportedNetTargetsWithoutNet6)
$(TargetFrameworks);$(NetFrameworkMinimumSupportedVersion)
+ Unit test project for GCP Detector for OpenTelemetry.