-
Notifications
You must be signed in to change notification settings - Fork 201
KeyVault configuration fails if release version of Microsoft.Azure.KeyVault referenced #569
Comments
I confirmed that the current Microsoft.Extensions.Configuration.AzureKeyVault package depends on 2.0.2-preview of Microsoft.Azure.KeyVault. The released version of Microsoft.Azure.KeyVault is 2.0.6 and we can asume it has breaking changes from preview. @muratg @pakrym any reason not to release a new version of the provider in the 1.1.1 timeframe that depends on realeased bits? |
How exactly did we release an RTM package that has a preview dependency?? |
Logged https://github.com/aspnet/Coherence-Signed/issues/396 to track making sure we don't run into this again. |
Fixed by: #570 |
Re-opening because we need this in 1.1.1. |
Plus, you didn't mark the bug as 3-Done! 😄 |
Any ETA for 1.1.1 release? We also got this issue today :( |
I was able to work around this by duplicating some of the code in the extension class and passing the callback explicitly:
Also needed to copy the
Here's the complete file: https://gist.github.com/ryanmcdonnell/e44319bb6d734a6e2c11742313b44231 |
@pavelbrylov no ETA, but we hope to get it out as soon as possible in 2017. |
@Eilon Thanks! |
This patch bug is approved. Please use the normal code review process w/ a PR and make sure the fix is in the correct branch, then close the bug and mark it as done. |
I'm getting this with Microsoft.Azure.KeyVault 2.3.2 when running from an Azure Function, Debug configuration, .NET 4.6.2.
|
@pakrym @muratg did you see #569 (comment)? It seems we depend on version 2.3.1 of Microsoft.Azure.KeyVault, and based on the comment above 2.3.2 could contain breaking changes. Was 2.3.1 intentionally chosen? It happens to be unlisted at https://www.nuget.org/packages/Microsoft.Azure.KeyVault/. |
@tjrobinson thank you for reporting this. I have created #691 to follow up. |
@divega, it's wasn't intentional we just updated to what was latest at that time. |
Using Microsoft.Extensions.Configuration.AzureKeyVault fails if the project using it (or one of its dependencies) references a release version of Microsoft.Azure.KeyVault.
For example, calling
builder.AddAzureKeyVault(...)
results in:My guess is this may be because version
2.0.2-preview
is referenced?The text was updated successfully, but these errors were encountered: