diff --git a/src/dotnet/commands/dotnet-new/Program.cs b/src/dotnet/commands/dotnet-new/Program.cs index 2595dc7a8..4998e0492 100644 --- a/src/dotnet/commands/dotnet-new/Program.cs +++ b/src/dotnet/commands/dotnet-new/Program.cs @@ -61,7 +61,7 @@ namespace Microsoft.DotNet.Tools.New { if (File.Exists(Path.Combine(Directory.GetCurrentDirectory(), entry))) { - Reporter.Error.WriteLine(LocalizableStrings.ProjectContainsError, languageName, entry); + Reporter.Error.WriteLine(string.Format(LocalizableStrings.ProjectContainsError, languageName, entry)); return 1; } }