Skip to content

Commit 54f2023

Browse files
authored
[SignalR] Fixed transitive version conflict (Azure#48181)
The focus of these changes is to fix a transitive version conflict in the SignalR extension, arising from the legacy `Microsoft.Azure.Functions.Extensions` package and its dependency on an old version of `Microsoft.Extensions.DependencyInjection" which conflicts with the 8.x package line. This was added as a local override, as SignalR is the only Functions extension package in the repository which uses the legacy package.
1 parent cbb8aed commit 54f2023

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/Microsoft.Azure.WebJobs.Extensions.SignalRService.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
<PackageReference Include="Microsoft.Azure.SignalR.Protocols" />
2020
<PackageReference Include="Microsoft.Azure.SignalR.Serverless.Protocols" />
2121
<PackageReference Include="System.IdentityModel.Tokens.Jwt" />
22+
23+
<!--
24+
Adding as a local override, as packages should not generally take this dependency. It is
25+
needed here due to a transitive version conflict due to the Microsoft.Azure.Functions.Extensions
26+
reference.
27+
-->
28+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" VersionOverride ="8.0.1" />
2229
</ItemGroup>
2330

2431
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">

0 commit comments

Comments
 (0)