Handle directories with spaces during deployment publish #630
This commit is contained in:
parent
f76fb06c8f
commit
24279aa946
|
|
@ -48,8 +48,8 @@ namespace Microsoft.AspNetCore.Server.Testing
|
|||
|
||||
DeploymentParameters.PublishedApplicationRootPath = publishRoot ?? Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
|
||||
|
||||
var parameters = $"publish {DeploymentParameters.ApplicationPath}"
|
||||
+ $" -o {DeploymentParameters.PublishedApplicationRootPath}"
|
||||
var parameters = $"publish \"{DeploymentParameters.ApplicationPath}\""
|
||||
+ $" -o \"{DeploymentParameters.PublishedApplicationRootPath}\""
|
||||
+ $" --framework {DeploymentParameters.PublishTargetFramework}";
|
||||
|
||||
Logger.LogInformation($"Executing command {DotnetCommandName} {parameters}");
|
||||
|
|
|
|||
Loading…
Reference in New Issue