diff --git a/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx b/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx
index 942139ebe..a2f52ea07 100644
--- a/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx
+++ b/src/dotnet/commands/dotnet-sln/LocalizableStrings.resx
@@ -150,4 +150,7 @@
Create a solution file.
+
+ Project(s)
+
\ No newline at end of file
diff --git a/src/dotnet/commands/dotnet-sln/list/Program.cs b/src/dotnet/commands/dotnet-sln/list/Program.cs
index 3b82bd255..d0dd20eb0 100644
--- a/src/dotnet/commands/dotnet-sln/list/Program.cs
+++ b/src/dotnet/commands/dotnet-sln/list/Program.cs
@@ -36,9 +36,9 @@ namespace Microsoft.DotNet.Tools.Sln.List
}
else
{
- Reporter.Output.WriteLine($"{CommonLocalizableStrings.ProjectReferenceOneOrMore}");
- Reporter.Output.WriteLine(new string('-', CommonLocalizableStrings.ProjectReferenceOneOrMore.Length));
- foreach (var slnProject in slnFile.Projects)
+ Reporter.Output.WriteLine($"{LocalizableStrings.ProjectsHeader}");
+ Reporter.Output.WriteLine(new string('-', LocalizableStrings.ProjectsHeader.Length));
+ foreach (var slnProject in slnFile.Projects.Where(p => p.TypeGuid != ProjectTypeGuids.SolutionFolderGuid))
{
Reporter.Output.WriteLine(slnProject.FilePath);
}
diff --git a/src/dotnet/commands/dotnet-sln/xlf/LocalizableStrings.cs.xlf b/src/dotnet/commands/dotnet-sln/xlf/LocalizableStrings.cs.xlf
index 88a3a115a..96165f37a 100644
--- a/src/dotnet/commands/dotnet-sln/xlf/LocalizableStrings.cs.xlf
+++ b/src/dotnet/commands/dotnet-sln/xlf/LocalizableStrings.cs.xlf
@@ -57,6 +57,11 @@
Vytvoří soubor řešení.
+