Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
95 stars 64 forks source link

Unused dependencies in Microsoft.NET.Sdk.Functions #531

Open pastushenkoy opened 2 years ago

pastushenkoy commented 2 years ago

Hello everyone.

Can anyone help me to find out why does the project Microsoft.NET.Sdk.Functions contains these package references:

    <PackageReference Include="Microsoft.Azure.WebJobs" Version="[3.0.14,3.1.0)" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions" Version="[3.0.5,3.1.0)" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Http" Version="[3.0.0,3.1.0)" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="$(ExtensionsMetadataGeneratorVersion)" />

If I delete them nothing changes and Generator continues to work properly.

My guess is that it is needed to pin code to particular versions of these libraries and avoid dependency hell. Can anyone confirm this guess?