cake-build/cake
View on GitHubDotNetCorePublish OutputDirectory is not relative to WorkingDirectory
Open
#1,917 opened on Nov 14, 2017
Help wantedImprovementUp-for-grabs
Repository metrics
- Stars
- (3,742 stars)
- PR merge metrics
- (Avg merge 1d 1h) (25 merged PRs in 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).