我开始了Azure移动应用程序快速入门(.NET后端)。在Visual Studio中找不到JOSE,如何安装/导入它?
我试着在我ApiController头添加using JOSE;
但它不是我的Visual Studio中发现:
(类型或命名空间名称“何塞”找不到(是否缺少使用
我试着运行包管理器控制台指令或程序集引用)):
PM> Install-Package jose-jwt
错误:
Install-Package : Unable to resolve dependencies.
'Microsoft.Web.Infrastructure 1.0.0' is not compatible with 'Microsoft.AspNet.Web.Optimization 1.1.3 constraint: Microsoft.Web.Infrastructure (≥ 1.0.0)', 'Microsoft.AspNet.WebPages 3.2.3 constraint: Microsoft.Web.Infrastructure (≥ 1.0.0)'.
At line:1 char:1
- Install-Package jose-jwt
- ~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Install-Package], Exception
- FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
如何解决这个问题?感谢您的解决方案。