cake-build/cake

DotNetCorePublish OutputDirectory is not relative to WorkingDirectory

Open

#1917 aperta il 14 nov 2017

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)C# (738 fork)batch import
Help wantedImprovementUp-for-grabs

Metriche repository

Star
 (3742 star)
Metriche merge PR
 (Merge medio 1g 1h) (25 PR mergiate in 30 g)

Descrizione

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

Guida contributor