dotnet / dotnet/aspnetcore

ASP.NET Core publishes all the dll dependenies under the root directory

Open
#54,979 1 comment 0 reactions 0 assignees View on GitHub
area-mvc
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.

When publishing a ASP.NET Core project, all the dll dependencies output to the root folder. In old ASP.NET, there is a "bin" folder that stores them in one central location, so things look organized. Is there any way to achieve that in ASP.NET Core?

If not, why would ASP.NET Core get rid of that? It really makes the output of the project look bad and unorganized.
![image](https://github.com/dotnet/aspnetcore/assets/162743681/6a3e0e43-fed6-40ed-9ac2-dffda8438c47)

### Describe the solution you'd like

Is there a way to publish all the dll dependencies in a folder for ASP.NET Core applications, instead of directly placing them under the root directory?

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