opentelemetry-dotnet-instru.../test/test-applications/integrations/TestApplication.MongoDB/TestApplication.MongoDB.csproj

21 lines
845 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup>
<!-- Required to build multiple projects with the same Configuration|Platform -->
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MongoDB.Driver" VersionOverride="$(LibraryVersion)" />
<!-- Workaround! Microsoft.Extensions.Logging.Abstractions v9.0.0 is minimal version supported by auto instrumentation.
MongoDB.Driver 2.18+ references older version. It prevents to load required version from Additional Dependencies store-->
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="9.0.0" />
</ItemGroup>
</Project>