Skip to content

asp.net core bin folder on publish to group all binaries #47982

@valoghia

Description

@valoghia

Is there an existing issue for this?

  • I have searched the existing issues

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

When publishing an ASP.net Core app we get a folder with
lots of folders and dll files (+ folders for each culture),
appsettings.json, web.config

Describe the solution you'd like

it would be much better to have a bin folder for all the dll files and rest non wwwroot folders

Additional context

Might not be a big issue for users of automatic/azure deployments, but for users of shared hosting and unperfect file managers,
where we have to pick and delete files before unzipping the deployment zip it makes things harder.

On each deployment I have to delete all files, except:
.well-known, my custom App_Data folder(s), wwwroot sometimes, appsettings.json sometimes.

And when using mvcBuilder.AddRazorRuntimeCompilation() there's also the Views folder.

So basically I need to do a whole lot of checkbox ticking and if all the dlls/runtimes folders and files would be in a bin folder it would make things a lot easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions