Change Output Directory #4400
Answered
by
devlead
TonyValenti
asked this question in
Q&A
-
When I build, I sometimes see messages like this:
The Is there a way for me to override this path when building with Cake? If so, how? |
Beta Was this translation helpful? Give feedback.
Answered by
devlead
Nov 22, 2024
Replies: 1 comment
-
You could try something like var outputPath = MakeAbsolute(Directory("./output")) ;
var settings = new DotNetBuildSettings
{
OutputDirectory = outputPath
};
DotNetBuild("./path/to/your/project.csproj", settings); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
patriksvensson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could try something like