Skip to content

Commit

Permalink
[Exporter.Stackdriver] Remove .NET 6 target and add .NET Standard 2.0 (
Browse files Browse the repository at this point in the history
…#2127)

Co-authored-by: joegoldman2 <[email protected]>
Co-authored-by: Mikel Blanchard <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2024
1 parent 1f8e668 commit 2729349
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
9 changes: 9 additions & 0 deletions src/OpenTelemetry.Exporter.Stackdriver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
* Updated OpenTelemetry core component version(s) to `1.9.0`.
([#1888](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1888))

* Drop support for .NET 6 as this target is no longer supported
and add .NET Standard 2.0 target.
([#2127](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2127))

* Update Google Cloud libraries:
* Google.Cloud.Monitoring.V3 3.4.0 -> 3.8.0
* Google.Cloud.Trace.V2 3.3.0 -> 3.5.0
([#2127](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2127))

## 1.0.0-beta.6

Released 2024-Apr-22
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
<TargetFrameworks>net8.0;net6.0;net462</TargetFrameworks>
<Description>Stackdriver .NET Exporter for OpenTelemetry.</Description>
<TargetFrameworks>net8.0;$(NetStandardMinimumSupportedVersion);net462</TargetFrameworks>
<Description>An OpenTelemetry .NET exporter that sends telemetry to Google Stackdriver.</Description>
<PackageTags>$(PackageTags);Stackdriver;Google;GCP;distributed-tracing</PackageTags>
<MinVerTagPrefix>Exporter.Stackdriver-</MinVerTagPrefix>
</PropertyGroup>

<!--Do not run Package Baseline Validation as this package has never released a stable version.
Remove this property once we have released a stable version and add PackageValidationBaselineVersion property.-->
<!-- Do not run Package Baseline Validation as this package has never released a stable version.
Remove this property once we have released a stable version and add PackageValidationBaselineVersion property. -->
<PropertyGroup>
<DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Monitoring.V3" Version="[3.4.0,4.0)" />
<PackageReference Include="Google.Cloud.Trace.V2" Version="[3.3.0,4.0)" />
<PackageReference Include="Google.Cloud.Monitoring.V3" Version="[3.8.0,4.0)" />
<PackageReference Include="Google.Cloud.Trace.V2" Version="[3.5.0,4.0)" />
<PackageReference Include="OpenTelemetry" Version="$(OpenTelemetryCoreLatestVersion)" />
</ItemGroup>

<ItemGroup>
<Compile Include="$(RepoRoot)\src\Shared\ExceptionExtensions.cs" Link="Includes\ExceptionExtensions.cs" />
<Compile Include="$(RepoRoot)\src\Shared\Guard.cs" Link="Includes\Guard.cs" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>Unit test project for Stackdriver Exporter for OpenTelemetry</Description>
<!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
<TargetFrameworks>$(SupportedNetTargets)</TargetFrameworks>
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);net462</TargetFrameworks>
<TargetFrameworks>$(SupportedNetTargetsWithoutNet6)</TargetFrameworks>
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);$(NetFrameworkMinimumSupportedVersion)</TargetFrameworks>
<Description>Unit test project for Stackdriver Exporter for OpenTelemetry.</Description>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -31,4 +32,5 @@
<SpecificVersion>True</SpecificVersion>
</Reference>
</ItemGroup>

</Project>

0 comments on commit 2729349

Please sign in to comment.