Developers using Visual Studio Code and .NET 7 or .NET 8 for Azure Functions may encounter a bug that causes an error when debugging locally. The bug is related to the automatic referencing of the "Microsoft.Azure.Functions.Worker.Sdk" version "1.16.x" in the .csproj file. The error message states that a function with the same name already exists. Two workarounds are suggested: rolling back to version 1.15.x of the SDK or setting the property "<FunctionsEnableWorkerIndexing>False</FunctionsEnableWorkerIndexing>" in the .csproj file. The bug has been reported to the Azure Functions team.
Login now to access my digest by 365.Training