Azure / Azure/Azure-Functions

Azure functions DI conflict

Open
#1,310 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

According to this article:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection

..if I want to use Dependency Injection in Azure functions I need to install this nuget:
https://www.nuget.org/packages/Microsoft.Azure.Functions.Extensions/
... which requires Microsoft.Azure.WebJobs (>= 3.0.5)

AND I need this nuget:
https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions/
... which requires Microsoft.Azure.WebJobs (>= 2.2.0 && < 2.4.0)

Am I totally noobing out on this or is this not in fact possible? Visual Studio is complaining big time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.