Browse Source

Fixed auto-building for projects at spaced paths

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1572/head
Dimitar Dobrev 5 years ago
parent
commit
fe1e7c4812
  1. 2
      src/Generator/Driver.cs

2
src/Generator/Driver.cs

@ -356,7 +356,7 @@ namespace CppSharp @@ -356,7 +356,7 @@ namespace CppSharp
$"{module.LibraryName}.{msBuildGenerator.FileExtension}");
File.WriteAllText(csproj, msBuildGenerator.Generate());
string output = ProcessHelper.Run("dotnet", $"build {csproj}",
string output = ProcessHelper.Run("dotnet", $"build \"{csproj}\"",
out int error, out string errorMessage);
if (error == 0)
{

Loading…
Cancel
Save