Enclose paths with quotes in testPackages.proj (#34791)
authorCarlos Sanchez Lopez <1175054+carlossanlop@users.noreply.github.com>
Sat, 18 Apr 2020 08:03:10 +0000 (01:03 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2020 08:03:10 +0000 (10:03 +0200)
* Enclose paths with quotes in testPackages.proj

src/libraries/pkg/test/testPackages.proj

index 556872dc0b6f7176db6249dd2d98feda9dbff779..ea3cb98e3a7d9a0c20354340a7d3a77f98e0d9df 100644 (file)
           Condition="'$(ArchiveTests)' != 'true'">
 
     <PropertyGroup>
-      <TestRestoreCommand>$(TestDotNetPath)</TestRestoreCommand>
+      <TestRestoreCommand>"$(TestDotNetPath)"</TestRestoreCommand>
       <TestRestoreCommand>$(TestRestoreCommand) restore</TestRestoreCommand>
       <TestRestoreCommand>$(TestRestoreCommand) --packages "$(TestPackageDir)"</TestRestoreCommand>
       <TestRestoreCommand>$(TestRestoreCommand) /p:LocalPackagesPath=$(PackageOutputPath)</TestRestoreCommand>
           Condition="'$(ArchiveTests)' != 'true'">
 
     <PropertyGroup>
-      <TestBuildCommand>$(TestDotNetPath)</TestBuildCommand>
+      <TestBuildCommand>"$(TestDotNetPath)"</TestBuildCommand>
       <TestBuildCommand>$(TestBuildCommand) msbuild</TestBuildCommand>
       <TestBuildCommand>$(TestBuildCommand) /t:Test</TestBuildCommand>
       <TestBuildCommand>$(TestBuildCommand) /nr:false</TestBuildCommand>