Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Pass working directory to dotnet build (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
thoemmi authored Apr 1, 2020
1 parent 2845903 commit a64e4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.Tye.Hosting/ProcessRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ service.Description.RunInfo is ProjectRunInfo project2 &&

service.Logs.OnNext($"dotnet build \"{service.Status.ProjectFilePath}\" /nologo");

var buildResult = await ProcessUtil.RunAsync("dotnet", $"build \"{service.Status.ProjectFilePath}\" /nologo", throwOnError: false);
var buildResult = await ProcessUtil.RunAsync("dotnet", $"build \"{service.Status.ProjectFilePath}\" /nologo", throwOnError: false, workingDirectory: workingDirectory);

service.Logs.OnNext(buildResult.StandardOutput);

Expand Down

0 comments on commit a64e4ca

Please sign in to comment.