Address PR feedback.

Restore the 'tools' into obj folder.
This commit is contained in:
Sridhar Periyasamy 2016-01-20 17:20:38 -08:00
parent 6b01f1a644
commit 6a249f65ea

View file

@ -124,10 +124,10 @@ namespace Microsoft.DotNet.Tools.Restore
private static void RestoreTool(LibraryRange tooldep, RestoreTask restoreTask, bool quiet)
{
var tempRoot = Path.Combine(restoreTask.ProjectDirectory, Guid.NewGuid().ToString());
var tempRoot = Path.Combine(restoreTask.ProjectDirectory, "obj");
try
{
var tempPath = Path.Combine(tempRoot, "bin");
var tempPath = Path.Combine(tempRoot, Guid.NewGuid().ToString(), "bin");
RestoreToolToPath(tooldep, restoreTask.Arguments, tempPath, quiet);