Version 1.15.1 and 1.15.2 - Could not load file or assembly Microsoft.Extensions.Options

オープン
#292 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
build-system

調査の方向性

Cloudinary .NET SDK を .NET Core 3.1 Azure Function プロジェクトで 1.15.1 または 1.15.2 にアップグレードして起動失敗を再現し、その後、関連するパッケージ依存関係とアセンブリバージョンを調査します。アップグレードしたパッケージを使用した状態で、Microsoft.Extensions.Options の読み込みエラーなしにプロジェクトが起動すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Could not load file or assembly 'Microsoft.Extensions.Options, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

We are using the SDK in a .NET Core 3.1 Azure Function project. On startup we get the following error message.

[2021-10-05T19:14:11.699Z] A host error has occurred during startup operation '929d6984-66be-444d-b0b2-d4645ccc7549'.
[2021-10-05T19:14:11.701Z] Function-ZipWhipEngine: Could not load file or assembly 'Microsoft.Extensions.Options, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
Value cannot be null. (Parameter 'provider')

In order to resolve the error we have to downgrade to version 1.14.0.
…

Issue Type (Can be multiple)

  • Build - Cannot install or import the SDK
  • Performance - Performance issues
  • Behaviour - Functions are not working as expected (such as generate URL)
  • Documentation - Inconsistency between the docs and behaviour
  • Other (Specify)

Steps to reproduce

Simply upgrade the NuGet package and try to run the project. Error will occur during startup.

Error screenshots or Stack Trace (if applicable)

image

OS and Version

  • Linux
  • Windows
  • macOS
  • MultiPlatform

Versions and Libraries (fill in the version numbers)

  • Cloudinary .NET SDK version - 1.15.1 and 1.15.2
  • .NET Core - 3.1
主要言語
C#
スター
105
フォーク
72
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudinary/CloudinaryDotNet のほかの issue

cloudinary/CloudinaryDotNet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。