Skip to content

Change Output Directory #4400

Answered by devlead
TonyValenti asked this question in Q&A
Discussion options

You must be logged in to vote

You could try something like

var outputPath = MakeAbsolute(Directory("./output")) ;
var settings = new DotNetBuildSettings
{
    OutputDirectory = outputPath
};

DotNetBuild("./path/to/your/project.csproj", settings);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by patriksvensson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants