cake-build/cake

DotNetCorePublish OutputDirectory is not relative to WorkingDirectory

Open

#1 917 ouverte le 14 nov. 2017

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)C# (738 forks)batch import
Help wantedImprovementUp-for-grabs

Métriques du dépôt

Stars
 (3 742 stars)
Métriques de merge PR
 (Merge moyen 1j 1h) (25 PRs mergées en 30 j)

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).

Guide contributeur