-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference conflicts #4670
Comments
Hi @atifgk I believe you will need to manually add a reference to Microsoft.AspNetCore.HttpAbstractions 3.1.0 in order to overcome this. I assume your project is targeting net core 3.1? |
Hi @EricDahlvang thanks for reply. yes i'm using asp.net core 3.1 version. in nuget only Microsoft.AspNetCore.HttpAbstractions 2.2.0 available. can you please guide how i can install 3.1.0? thanks |
please see this one |
I get the same issue. Steps to reproduce:
Here's what the .NET Core 3.1 version Microsoft.Bot.Builder.Integration.AspNet.Core assembly is referencing: I think there's a workaround as the .NET Standard 2.0 package references the following: |
I apologize for my confusion in the above response. Looking into this more, Microsoft.AspNetCore.HttpAbstractions is actually provided for a 3.1 project via a FrameworkReference:
Please add this to your .csproj file, and let us know how it goes. |
Hi @EricDahlvang ,
I tried installing System.IdentityModel.Tokens.Jwt, Version=5.6.0.0 but no success |
@atifgk can you share the project? |
@EricDahlvang please find project in attachment |
it work fine if i use Microsoft.Bot.Builder.Integration.AspNet.Core" 4.6.0 version
|
Well, this is odd. Adding _FunctionsSkipCleanOutput to the .csproj fixes the System.IdentityModel.Tokens.Jwt load issue:
More information about this can be found here: |
Thanks @EricDahlvang its working now with your trick :) |
Error CS1705 Assembly 'Microsoft.Bot.Builder.Integration.AspNet.Core' with identity 'Microsoft.Bot.Builder.Integration.AspNet.Core, Version=4.10.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.AspNetCore.Http.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' which has a higher version than referenced assembly 'Microsoft.AspNetCore.Http.Abstractions' with identity 'Microsoft.AspNetCore.Http.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' Azure FunctionApp
Version
Microsoft.Bot.Builder.Integration.AspNet.Core, Version=4.10.3.0 with azure function
Describe the bug
Getting version conflict
Screenshots
The text was updated successfully, but these errors were encountered: