C#C
C#13mo ago
Natashi

Missing dll on Azure App Service deployment

I'm trying to deploy my web API to Azure App Service, using code deployment to Linux server from GitHub actions

The solution has this structure (not its actual solution name, I can't reveal that part)
/AppAPI
    AppAPI.sln
    /Api
        Api.csproj
    /Data
        Data.csproj

(Yes, weird, I know, but I can't change it now)

The solution builds and deploys to AAS just fine, but gives this error in the logs:
The application 'AppAPI.dll' does not exist.

Which is not correct as the publish output assemblies are Api.dll and Data.dll
Then, I went to the configuration panel and added dotnet Api.dll as the startup command, and re-ran the app, which then gives me:
The application 'Api.dll' does not exist.

Opening AAS's host SSH console shows that Api.dll does exist in ~/site/wwwroot (which also looks identical to the local publish output), so I truly have no idea what is happening, and would greatly appreciate any help
image.png
Was this page helpful?