私は、いくつかの nuget パッケージを使用して Json Web トークンをデコードする Azure Function に取り組んでいます。
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 の依存関係を再確認して、それらが存在することを確認しました。
私は次に何を調査するかについて少し立ち往生しています!
乾杯、
ヨルダン。