diff --git a/Source/Tools/Flax.Build/Build/Graph/TaskGraph.cs b/Source/Tools/Flax.Build/Build/Graph/TaskGraph.cs index e3a3a341f..5e092d155 100644 --- a/Source/Tools/Flax.Build/Build/Graph/TaskGraph.cs +++ b/Source/Tools/Flax.Build/Build/Graph/TaskGraph.cs @@ -82,7 +82,7 @@ namespace Flax.Build.Graph if (Platform.BuildPlatform.Target == TargetPlatform.Windows) { task.CommandPath = "xcopy"; - task.CommandArguments = string.Format("/y \"{0}\" \"{1}\"", srcFile, outputPath); + task.CommandArguments = string.Format("/y \"{0}\" \"{1}\"", srcFile.Replace('/', '\\'), outputPath.Replace('/', '\\')); } else {