I have a C# dotnet core solution and it contains many projects. Then I want to publish my solution to distribute my build application.
When I run dotnet publish -o publish/win1064 -r win10-x64
in a folder with the sln file (I'm using dotnet core sdk 3.1), all build artifacts (dlls) are stored in the publish/win1064 folder. I want to have some projects to be published in a subfolders, like publish/win1064/plugins/pluginA for a project "pluginA" for example.
I can do it by running the dotnet publish
for every project and set the output folder accordingly, but is there any way to do it with a one command?