Skip to content

Commit 357cf1c

Browse files
[Infra] Fix W3cTraceContext tests for net8.0
Attempt to resolve `System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.` caused by reference to OpenTelemetry.Instrumentation.AspNetCore 1.12.0.
1 parent 5a900c5 commit 357cf1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/OpenTelemetry.Instrumentation.W3cTraceContext.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" VersionOverride="9.0.9" />
910
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" />
1011
</ItemGroup>
1112

0 commit comments

Comments
 (0)