dotnet / dotnet/sdk

Let me define the path to built assemblies for dotnet `publish --no-build`

Open
#43,747 0 comments 0 reactions 1 assignee Claimed by @dsplaisted View on GitHub
Area-CLI untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

I want to run the following commands:
```
dotnet build Proj -c Release -o /binaries
dotnet publish Proj -c Release --no-build -o /published-app --build-output /binaries
```

Yet there's no `--build-output` option for `dotnet-publish`.
How do I tell the command where to find the built files when I specify `--no-build`?

Just now publish fails.

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.