Skip to content

Commit

Permalink
Exclude TagTransformer.cs from compilation of SDK project
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwest committed May 25, 2022
1 parent 0d31699 commit 673ade0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/OpenTelemetry/OpenTelemetry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@
<RunApiCompat>false</RunApiCompat>
</PropertyGroup>

<!--These files are shared and included by other projects.
Excluding them from compilation because they introduce an unnecessary dependency on System.Text.Json. -->
<ItemGroup>
<Compile Remove="Internal\TagAndValueTransformer.cs" />
<Compile Remove="Internal\TagTransformer.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutablePkgVer)" />
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="$(SystemReflectionEmitLightweightPkgVer)" />
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonPkgVer)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingPkgVer)" />
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="$(MicrosoftExtensionsLoggingConfigurationPkgVer)" />
</ItemGroup>
Expand Down

0 comments on commit 673ade0

Please sign in to comment.