dotnet / dotnet/sdk

Publish all .dll dependencies to a separate /lib or /bin directory (dotnet publish)

Open
#42,191 3 comments 1 reaction 1 assignee Claimed by @joeloff View on GitHub
Area-NetSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

I just want a startup .dll/.exe published in the directory and dependencies like `Microsoft.Extensions.DependencyInjection.Abstractions.dll` should go to `/lib` or `/bin` directory.

Personally I feel like `PublishSingleFile` option would be unnecessary if this was possible.

There is a project like https://github.com/nulastudio/NetBeauty2 but I feel like this should be a feature of `dotnet publish`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.