filipw / Strathweb.AspNetCore.AzureBlobFileProvider

MIT License
55 stars 22 forks source link

Build new NuGet for .NET Core 3.1 support #24

Open devbrains-com opened 3 years ago

devbrains-com commented 3 years ago

Hi guys

Can you please publish an updaten NuGet for the .NET Core 3.1 fixes? That would be awesome.. 👍

https://github.com/filipw/Strathweb.AspNetCore.AzureBlobFileProvider/issues/20

Thank you 👍

ykopstein commented 3 years ago

The last version of this library published on nuget is incompatible with net50. Microsoft introduced a change in Microsoft.Extensions.Configuration.FileConfigurationProvider to use sync I/O when there's a physical file path. This change was implemented in the base class and ignores any overrides in the implementation.

Strathweb 0.4.0 sets the PhsyicalFilePath to the URL of the blob file which causes net50 to treat it as a file on the local file system. This behavior was already fixed with the upgrade to net31 but the fix is not yet available on nuget.

Tim-Andersen commented 2 years ago

I would also love to see an update to the version on NuGet, as I'm running into the issue pointed out by @ykosbie (in my case on .NET 6). Thanks!