Azure / Azure/azure-functions-openapi-extension

Error with loading file Microsoft.Azure.WebJobs.Extensions.Http.dll

Open
#183 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

I'm using 0.7.2-preview version and I get this error when I go to URL `/swagger/ui`

![image](https://user-images.githubusercontent.com/20638666/127287527-4966f428-9da9-4832-af9e-345155b5dcca.png)

The assemble is available in _bin/Debug/netcore3.1/_ directory but not in _bin/Debug/netcore3.1/bin/_.

I tried manually copying this file to the _bin/Debug/netcore3.1/bin/_ directory. The error goes away then, but I see an empty API definition.

![image](https://user-images.githubusercontent.com/20638666/127287991-ef1e410c-fcff-490c-8590-b74590785a42.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with version 0.7.2-preview by opening /swagger/ui, then compare the assemblies under bin/Debug/netcore3.1/ and bin/Debug/netcore3.1/bin/. No source file or test is named in the issue; trace the loading path for Microsoft.Azure.WebJobs.Extensions.Http.dll. Done means the page loads without the assembly error and shows the expected API definition.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, openapi
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.