fix commandPath ordering for corehost

This commit is contained in:
Bryan Thornbury 2016-03-17 14:06:15 -07:00
parent 98b0c03444
commit 873310f8f4

View file

@ -122,6 +122,8 @@ namespace Microsoft.DotNet.Cli.Utils
host = CoreHost.LocalHostExePath;
}
arguments.Add(commandPath);
if (depsFilePath != null)
{
arguments.Add("--depsfile");
@ -131,8 +133,6 @@ namespace Microsoft.DotNet.Cli.Utils
arguments.Add("--additionalprobingpath");
arguments.Add(nugetPackagesRoot);
arguments.Add(commandPath);
arguments.AddRange(commandArguments);
return CreateCommandSpec(host, arguments, commandResolutionStrategy);