Azure / Azure/azure-functions-openapi-extension

Deployment from release pipeline fails

Open
#538 4 comments 0 reactions 0 assignees View on GitHub
Needs: Triage (Functions)
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

I have version 1.5.0 installed in a .NET 7.0 azure isolated-version, when publishing it to azure from Visual Studio I can browse to swagger/ui and works fine.

Doing the same from release pipelines with "Azure Functions" task I get below error when browsing to above location (it is a Linux based system):

`Could not load file or assembly '/home/site/wwwroot/Microsoft.Azure.Functions.Worker.Extensions.dll'. The system cannot find the file specified.`

Contributor guide

Open the contributing guide

Research direction

Begin by reproducing the Linux deployment with the Azure Functions task, comparing it with the working Visual Studio publish. Trace whether Microsoft.Azure.Functions.Worker.Extensions.dll is included under /home/site/wwwroot; done means the release-pipeline deployment serves swagger/ui without the assembly-load error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, openapi
Domain
backend, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.