Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 更新Bot框架的Nuget时出错_Visual Studio_Botframework_Nuget Package_Azure Bot Service - Fatal编程技术网

Visual studio 更新Bot框架的Nuget时出错

Visual studio 更新Bot框架的Nuget时出错,visual-studio,botframework,nuget-package,azure-bot-service,Visual Studio,Botframework,Nuget Package,Azure Bot Service,错误-无法解析依赖项 System.IdentityModel.Tokens.Jwt 5.1.4“与不兼容 'Microsoft.Bot.Builder 3.8.1约束: System.IdentityModel.Tokens.Jwt(>=4.0.4.403061554&&

错误-无法解析依赖项

System.IdentityModel.Tokens.Jwt 5.1.4“与不兼容 'Microsoft.Bot.Builder 3.8.1约束: System.IdentityModel.Tokens.Jwt(>=4.0.4.403061554&&<5.0.0)


删除System.IdentityModel.Tokens.Jwt会对项目产生排序影响吗?

您遇到的问题是,您的解决方案是使用比BotBuilder Nuget预期版本更新的
System.IdentityModel.Tokens.Jwt
程序集

要解决这个问题:

  • 从您的解决方案中卸载当前的
    System.IdentityModel.Tokens.Jwt
    Nuget
  • 安装BotBuilder Nuget。这应该添加对
    System.IdentityModel.Tokens.Jwt的新引用

  • 您遇到的问题是,您的解决方案是使用比BotBuilder Nuget预期版本更新的
    System.IdentityModel.Tokens.Jwt
    程序集

    要解决这个问题:

  • 从您的解决方案中卸载当前的
    System.IdentityModel.Tokens.Jwt
    Nuget
  • 安装BotBuilder Nuget。这应该添加对
    System.IdentityModel.Tokens.Jwt的新引用

  • 不在@Ezequiel Jadib更新它(System.IdentityModel.Tokens.Jwt)怎么样?如果你只是在更新那个Nuget,那么是的,你不应该。让BotFramework开始管理其依赖项。谢谢@Ezequiel Jadib!不在@Ezequiel Jadib更新它(System.IdentityModel.Tokens.Jwt)怎么样?如果你只是在更新那个Nuget,那么是的,你不应该。让BotFramework开始管理其依赖项。谢谢@Ezequiel Jadib!