I have build my project using Azure Functions, my project has core projections which hold core projects

so I have
MyProject.Core
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.50.0" />
MyProject.Core.Endpoint
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.23.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="2.50.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="2.1.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.6" />
MyProject.Core.Endpoint.Orchestration
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.11.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.3.0" />

now when i have standard Azure Functions like Http endpoints, and referece MyProject.Core.Endpoint it works without issue

however when i use Azure Durable Functions and referenceMyProject.Core.Endpoint.Orchestration it fails primarliy with the error
The library 'hostpolicy.dll' required to execute the application was not found in 'D:\src\Entity.Text.Field\src\FunctionApps\CommandHandlers\AZSTCommandFn\src\bin\Debug\net8.0\

but also

Microsoft.Azure.WebJobs.Script.Grpc: The operation has timed out.

[2025-11-20T14:03:17.631Z] Failed to start language worker process for runtime: dotnet-isolated. workerId:98777b42-9201-4f82-a7ae-cb00733be69c

exactly the same code but if i add all the azure function references back into the azure function csproj file its works again.

any idea why this happens i am trying to standarise my code but this has got me stuck

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.