opentelemetry-dotnet-instru.../examples/CoreAppOldReference/Examples.CoreAppOldReferenc...

17 lines
700 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\OldReference\Examples.OldReference.csproj" />
<!-- ProjectReference OldReference above uses an old version of System.Diagnostics.DiagnosticSource -->
<!-- that is incompatible with the OTel SDK, make an explicit reference to the desired version here -->
<!-- so the package resolution version ensures that the desired version is loaded. -->
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
</PropertyGroup>
</Project>