Version 1.15.1 and 1.15.2 - Could not load file or assembly Microsoft.Extensions.Options
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp
- 领域
- build-system
调研方向
在 .NET Core 3.1 Azure Function 项目中将 Cloudinary .NET SDK 升级到 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)

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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudinary/CloudinaryDotNet 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 48/100
cloudinary/CloudinaryDotNet#387 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
cloudinary/CloudinaryDotNet#385 · 5 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
cloudinary/CloudinaryDotNet#383 · 1 条评论 ·
-
Create New Sample Project with Generative AI and Special Use Cases可能重新可做 @Nupoor10 于 768 天前认领,目前没有进行中的 PR。 未关闭
难度 5/5 一周以上 新手友好度 20/100
cloudinary/CloudinaryDotNet#369 · 4 条评论 ·
-
Update the Sample Project可能重新可做 @arya2004 于 772 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/CloudinaryDotNet#368 · 4 条评论 · 已指派 1 人 ·
查看 cloudinary/CloudinaryDotNet 的全部 Issue
相似的 Issue
-
ready-for-agent tech-debt
难度 1/5 1-3 小时 新手友好度 85/100
DigiBanks99/menlo#640 ·
维护者通常 1 天内回复
-
ci
难度 1/5 1 小时以内 新手友好度 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
维护者通常 3 天内回复
-
area / templates
难度 2/5 1-3 小时 新手友好度 66/100
bitfoundation/bitplatform#15109 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
aikido critical security
难度 1/5 1 小时以内 新手友好度 72/100
dequelabs/axe-core-nuget#305 ·