Blog Post
Logic Apps Standard custom code now supports .NET 10
Hi WSilveira,
Thanks for this write-up!
I'm running into an issue with one of my projects. I'm using dependency injection as described in https://learn.microsoft.com/en-us/azure/logic-apps/create-run-custom-code-functions#enable-dependency-injection
However, the project fails to build because the IConfigureStartup interface appears to be missing from the Microsoft.Azure.Functions.Extensions.Workflows namespace.
The interface is available in version 1.3.0 of the Microsoft.Azure.Workflows.WebJobs.Sdk NuGet package, but it seems to be missing in version 1.4.0.
Is there a fix or alternative way to implement dependency injection with the newer package version?
Thanks in advance for your help!
Hi ronaldbosma,
Thanks for reporting this issue. We found a dependency issue on the Microsoft.Azure.Workflows.WebJobs.Sdk 1.4.0, so we fixed and published a new version (1.4.1). Update the versionon your project to:
<PackageReference Include="Microsoft.Azure.Workflows.Webjobs.Sdk" Version="1.4.1"/>
This should fix the problem.
I've also updated the skill to use the new version (1.4.1) and we will have a new extension update that creates new project using the updated version on Monday.
Let me know if that fix it for you too.