Skip to content

Commit de86132

Browse files
committed
Fix System.Diagnostics.DiagnosticSource for Redis test
1 parent bf002b7 commit de86132

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test-applications/integrations/TestApplication.StackExchangeRedis/TestApplication.StackExchangeRedis.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
<ItemGroup>
44
<PackageReference Include="StackExchange.Redis" VersionOverride="$(LibraryVersion)" />
5-
<!-- Workaround! Microsoft.Extensions.Logging.Abstractions v.9.0.0 is minimal version supported by auto instrumentation.
5+
<!-- Workaround! Microsoft.Extensions.Logging.Abstractions v8.0.0 is minimal version supported by auto instrumentation.
66
StackExchange.Redis references older version. It prevents to load required version from Additional Dependencies store-->
7-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="9.0.0" />
7+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" VersionOverride="8.0.0" />
8+
<PackageReference Include="System.Diagnostics.DiagnosticSource" Condition=" '$(TargetFramework)' == 'net8.0' " />
89
</ItemGroup>
910

1011
</Project>

0 commit comments

Comments
 (0)