Edit

AZFW0105: An Incompatible SDK is Referenced

Item Value
Name UsingIncompatibleSdk
Category Sdk
Severity Error

Cause

The function app includes 'Microsoft.NET.Sdk.Functions' or 'Microsoft.Azure.Functions.Worker.Sdk' package reference.

Rule Description

'Microsoft.NET.Sdk.Functions' is for in-proc function apps and 'Microsoft.Azure.Functions.Worker.Sdk' is superseded by the Azure.Functions.Sdk. Including these other SDKs along with Azure.Functions.Sdk will cause build issues.

How to Fix

Remove the incompatible package references.