File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Umbraco.Cloud.StorageProviders.AzureBlob Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <AssemblyVersion >4.0.0 </AssemblyVersion >
4
- <InformationalVersion >4.0.0 </InformationalVersion >
5
- <FileVersion >4.0.0 .0</FileVersion >
3
+ <AssemblyVersion >4.0.1 </AssemblyVersion >
4
+ <InformationalVersion >4.0.1 </InformationalVersion >
5
+ <FileVersion >4.0.1 .0</FileVersion >
6
6
<NeutralLanguage >en-US</NeutralLanguage >
7
7
<Company >Umbraco</Company >
8
8
<Copyright >Copyright © Umbraco 2021</Copyright >
Original file line number Diff line number Diff line change @@ -19,8 +19,13 @@ public void Compose(IUmbracoBuilder builder)
19
19
{
20
20
if ( builder == null ) throw new ArgumentNullException ( nameof ( builder ) ) ;
21
21
22
+ /* There's a bug in Microsoft.Extensions.Configuration.EnvironmentVariables @ 6.0.0 WRT env var normalization + AddEnvironmentVariables(prefix)
23
+ * See https://github.com/dotnet/runtime/pull/62916, should be resolved upstream in https://github.com/dotnet/runtime/milestone/87
24
+ * Until then, safest thing to do is explicitly add environment variables using both prefixes.
25
+ * (otherwise there are issues when folks update TFM to net6) */
22
26
var configuration = new ConfigurationBuilder ( )
23
27
. AddEnvironmentVariables ( "Umbraco:Cloud:" )
28
+ . AddEnvironmentVariables ( "Umbraco__Cloud__" )
24
29
. Build ( ) ;
25
30
26
31
// Get options and manually validate (no need to add them to the service collection)
You can’t perform that action at this time.
0 commit comments