diff --git a/build_projects/dotnet-cli-build/Crossgen.cs b/build_projects/dotnet-cli-build/Crossgen.cs index aa0339914..68129a065 100644 --- a/build_projects/dotnet-cli-build/Crossgen.cs +++ b/build_projects/dotnet-cli-build/Crossgen.cs @@ -98,12 +98,12 @@ namespace Microsoft.DotNet.Build.Tasks private string GetInPath() { - return $"-in {SourceAssembly}"; + return $"-in \"{SourceAssembly}\""; } private string GetOutPath() { - return $"-out {TempOutputPath}"; + return $"-out \"{TempOutputPath}\""; } private string GetPlatformAssemblyPaths()