diff --git a/src/dotnet/commands/dotnet-cache/CacheCommandParser.cs b/src/dotnet/commands/dotnet-cache/CacheCommandParser.cs index 580f0fb48..ef19f3f0a 100644 --- a/src/dotnet/commands/dotnet-cache/CacheCommandParser.cs +++ b/src/dotnet/commands/dotnet-cache/CacheCommandParser.cs @@ -3,7 +3,7 @@ using System.Linq; using Microsoft.DotNet.Cli.CommandLine; -using Microsoft.DotNet.Tools.Cache; +using LocalizableStrings = Microsoft.DotNet.Tools.Cache.LocalizableStrings; namespace Microsoft.DotNet.Cli { diff --git a/src/dotnet/commands/dotnet-cache/Program.cs b/src/dotnet/commands/dotnet-cache/Program.cs index d4325ab1a..1b1f75531 100644 --- a/src/dotnet/commands/dotnet-cache/Program.cs +++ b/src/dotnet/commands/dotnet-cache/Program.cs @@ -9,6 +9,7 @@ using Microsoft.DotNet.Cli; using System.Diagnostics; using System; using System.IO; +using Parser = Microsoft.DotNet.Cli.Parser; namespace Microsoft.DotNet.Tools.Cache { @@ -39,9 +40,7 @@ namespace Microsoft.DotNet.Tools.Cache { throw new InvalidOperationException(LocalizableStrings.SpecifyEntries); } - - var msbuildArgs = msbuildArgs = new List(); - + msbuildArgs.Add("/t:ComposeCache"); msbuildArgs.AddRange(appliedBuildOptions.OptionValuesToBeForwarded());