cake-build/cake

DotNetCorePublish OutputDirectory is not relative to WorkingDirectory

Open

#1.917 aberto em 14 de nov. de 2017

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)C# (738 forks)batch import
Help wantedImprovementUp-for-grabs

Métricas do repositório

Stars
 (3.742 stars)
Métricas de merge de PR
 (Mesclagem média 1d 1h) (25 fundiu PRs em 30d)

Description

DotNetCorePublishSettings has a property WorkingDirectory which I set to my project dir relative to repository root (where my cake.build file is). eg, ./source/MyProject. There is also a property OutputDirectory which I set to ./obj/Docker/publish.

Now I would assume, that output directory would be relative to working dir, but it's not - it is relative to cake.build file (aka repository root).

Guia do colaborador