Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.NET.Sdk.Functions v.1.0.24 uses WindowsAzure.Storage v.7.2.1 that is deprecated. #562

Open
Hakuroda opened this issue Jun 16, 2022 · 1 comment

Comments

@Hakuroda
Copy link

Azure Functions Runtime version 1.x is still support and to develop that version of application we use Microsoft.NET.Sdk.Functions v.1.0.24. But in that sdk it uses WindowsAzure.Storage v.7.2.1 that is deprecated already. I think there is a conflict.

ASK

  • Is there any way to use Azure.Storage.Blobs instead?
  • Do we have to migrate the functionapp to Azure Functions version 4.x not version 1.x?

CURRENT BEHAVIOR

  • csproj file

image

But if we dig that dependency tree deeper, then I found out this sdk has a dependency for WindowsAzure.Storage that is deprecated already.
-Dependency tree
image

And this nuget package is deprecated.
https://www.nuget.org/packages/WindowsAzure.Storage/7.2.1
image

I found a similar issue and it seems that we should update sdk version.
Azure/azure-webjobs-sdk#2644

@Hakuroda
Copy link
Author

UPDATES
The latest version of Microsoft.NET.Sdk.Functions is v.1.0.38. And this package references Microsoft.Azure.WebJobs v.2.3.0. This Microsoft.Azure.WebJobs package is the last version of v.2.x and updated on 2018/11/29 thus I think Microsoft.NET.Sdk.Functions need reference Microsoft.Azure.WebJobs v.2.x.

Also it seems that Azure Functions host runtime version 4 started to support .NET Framework 4.8 so I guess we should not use Microsoft.NET.Sdk.Functions v.1.x instead should use Microsoft.NET.Sdk.Functions v.4.x...
https://docs.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-process-guide#supported-versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants