获取"无法加载文件或程序集"虽然它应该在那里

时间:2016-06-23 07:05:17

标签: c# azure azure-functions

我正在使用Azure函数,该函数使用几个nuget包来解码Json Web令牌。

我在project.json中引用了System.IdentityModel.Tokens.Jwt和Microsoft.IdentityModel.Protocol.Extensions,它编译得很好。

我能够使用System.IdentityModel.Tokens.Jwt中的类和方法,但看起来Microsoft.IdentityModel.Protocol.Extensions看不到程序集。

"One or more errors occurred. Microsoft.IdentityModel.Protocol.Extensions: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=4.0.20622.1351, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

我仔细检查了nuget包源和Kudu中的依赖关系,以确保它们存在。

我对接下来要调查的内容感到有点担心!

干杯,

约旦。

0 个答案:

没有答案
相关问题