dotnet / dotnet/aspnetcore

Cannot publish project to Azure App Service because it defaults to Linux but I use Windows containers

Open
#57,184 4 comments 0 reactions 0 assignees View on GitHub
area-networking Needs: Attention :wave:
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

I have a project which uses windows docker containers, when I try to publish it to Azure using the right-click, Publish mechanism and select Azure App Service Container, and click Create a new instance, it defaults to Linux and does not let me swap to Windows

![image](https://github.com/user-attachments/assets/912d35ac-4789-4559-b444-c29f6d8263ae)

### Expected Behavior

Should either detect that its a Windows container project, or let me select Windows containers

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_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.