dotnet / dotnet/aspnetcore

Improve error message when a App Service is started with binaries of the wrong runtime identifier

Open
#51,995 4 comments 0 reactions 0 assignees View on GitHub
area-networking feature-iis
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

in an Azure DevOps Pipeline
1. (accidentally) publish web app project with --runtime-id linux-x64
2. deploy to a Windows based App Service
3. visit site - receive "no default document" error

### Describe the solution you'd like

at deployment time, or on first request;
error indicates binaries do not target correct platform

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.