Skip to content
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

negotiate error after trying to update nuget packages #118

Open
billbridges6 opened this issue Apr 5, 2020 · 2 comments
Open

negotiate error after trying to update nuget packages #118

billbridges6 opened this issue Apr 5, 2020 · 2 comments

Comments

@billbridges6
Copy link

Hi, I'm getting a strange error in the negotiate function after trying to change the packages in the sample (simple chat) application. (Removed the project reference - and used the nuget package)

Updating : Microsoft.Net.Sdk.Functions to any version starting with 3..

and the signalrservice extension to version 1.10

I have tried adding System.IdentityModel.Tokens.Jwt ( many different versions of the nuget package )

I get : System.Private.CoreLib: Exception while executing function: negotiate. Microsoft.Azure.WebJobs.Host: Exception binding parameter 'connectionInfo'. Microsoft.Azure.WebJobs.Extensions.SignalRService: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified. System.Private.CoreLib: Could not load the specified file.

@billbridges6
Copy link
Author

Should have said that I tried both the nuget package and also the project (as a referenced project ) with same result.

@JialinXin
Copy link
Contributor

JialinXin commented Apr 16, 2020

@billbridges6, it seems after Microsoft.Net.Sdk.Functions 3.* , some packages have break changes, you need to install Microsoft.Azure.WebJobs.Extensions.Http 3.* as well so that HttpTriggerAttribute can be resolved.

And about System.IdentityModel.Tokens.Jwt, you don't have to install yourself cause our dependency Microsoft.Azure.SignalR already has it. Sorry for the late response and let us know if you can work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants