[BUG] Azure Servicebus 4.1.1 Compile time warnings due to conflicting System.IdentityModel.Tokens.Jwt
See original GitHub issueDescribe the bug I am using the Microsoft.Azure.ServiceBus library (v4.1.1) via webjobs/functions triggers extension package. My application references the System.IdentityModel.Tokens.Jwt package version 6.7.1, but Microsoft.Azure.ServiceBus only supports outdated version range >=5.4.0 && < 6.0.0
Expected behavior Microsoft.Azure.ServiceBus supports current version of IdentityModel.Jwt package
Actual behavior (include Exception or Stack Trace) Forced to manually install System.IdentityModel.Tokens.Jwt into top level functions project to prevent package downgrade. Get compiler warnings due to package version mismatch
To Reproduce Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
- Create library using System.IdentityModel.Tokens.Jwt 6.7.1
- Create azure functions app with service bus trigger
- Reference library from (1) with functions app
- Compile warnings
Environment:
- Microsoft.Azure.WebJobs.Extensions.ServiceBus 4.1.2
- Microsoft.Azure.ServiceBus 4.1.1
- Hosting platform or OS and .NET runtime version (
dotnet --info
output for .NET Core projects):
.NET Core SDK (reflecting any global.json): Version: 3.1.301 Commit: 7feb845744
Runtime Environment: OS Name: Windows OS Version: 10.0.19041 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\3.1.301\
- IDE and version : VS 16.8 preview 3
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
@ssa3512 that would be with the Webjobs team, @jsquire - can you help route it?
It looks like this was resolved as of Microsoft.Azure.WebJobs.Extensions.ServiceBus v4.2.0 released the day after I opened this issue…