Skip to content

500 internal server error when upgrading System.IdentityModel.Tokens.Jwt NuGet package #1264

@sabbour

Description

@sabbour

Reproduction steps:

  1. Create a Bot Application
  2. Build and run
  3. Connect using the Channel Emulator, it works
  4. Right click on the Bot Application project and Manage NuGet packages
  5. Update packages
  6. Build and run
  7. Connect using the Channel Emulator and send a message, it fails with 500 Internal Server Error

Further investigation surfaces the following:
Exception thrown: 'System.TypeLoadException' in mscorlib.dll ("Could not load type 'System.IdentityModel.Tokens.TokenValidationParameters' from assembly 'System.IdentityModel.Tokens.Jwt, Version=5.0.0.127, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.")

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions