cloudinary / cloudinary/CloudinaryDotNet
Version 1.15.1 and 1.15.2 - Could not load file or assembly Microsoft.Extensions.Options
- Dominant language
- C#
- Stars
- 105
- Forks
- 72
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Description
## 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)
- [X] 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
- [X] 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
Contributor guide
Assessment
This issue has not been assessed yet.