From ba50d619d8181cc1998b3713ec248c304f2b506e Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Thu, 9 Mar 2017 18:44:48 -0800 Subject: [PATCH] Build fixes for clean & build --- src/dotnet/commands/dotnet-build/Program.cs | 2 -- src/dotnet/commands/dotnet-clean/Program.cs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/dotnet/commands/dotnet-build/Program.cs b/src/dotnet/commands/dotnet-build/Program.cs index 1034c70ab..d2703cbcc 100644 --- a/src/dotnet/commands/dotnet-build/Program.cs +++ b/src/dotnet/commands/dotnet-build/Program.cs @@ -5,8 +5,6 @@ using System.Collections.Generic; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.Tools.MSBuild; -using System.Diagnostics; -using System; using Microsoft.DotNet.Cli; using Parser = Microsoft.DotNet.Cli.Parser; diff --git a/src/dotnet/commands/dotnet-clean/Program.cs b/src/dotnet/commands/dotnet-clean/Program.cs index 3d9132ad5..c1cad7780 100644 --- a/src/dotnet/commands/dotnet-clean/Program.cs +++ b/src/dotnet/commands/dotnet-clean/Program.cs @@ -6,7 +6,7 @@ using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.Tools.MSBuild; using Microsoft.DotNet.Cli; -using System.Diagnostics; +using Parser = Microsoft.DotNet.Cli.Parser; namespace Microsoft.DotNet.Tools.Clean { @@ -33,7 +33,7 @@ namespace Microsoft.DotNet.Tools.Clean msbuildArgs.Add("/t:Clean"); - msbuildArgs.AddRange(appliedBuildOptions.OptionValuesToBeForwarded()); + msbuildArgs.AddRange(parsedClean.OptionValuesToBeForwarded()); msbuildArgs.AddRange(parsedClean.Arguments);