diff --git a/src/Cake.Common/Tools/DotNet/DotNetAliases.cs b/src/Cake.Common/Tools/DotNet/DotNetAliases.cs index d54eb84246..13fd812c56 100644 --- a/src/Cake.Common/Tools/DotNet/DotNetAliases.cs +++ b/src/Cake.Common/Tools/DotNet/DotNetAliases.cs @@ -2905,7 +2905,7 @@ public static DotNetPackageList DotNetListPackage(this ICakeContext context, str [CakeNamespaceImport("Cake.Common.Tools.DotNet.Sln.List")] public static IEnumerable DotNetSlnList(this ICakeContext context) { - return context.DotNetListSln(null); + return context.DotNetSlnList(null); } /// @@ -2927,7 +2927,7 @@ public static IEnumerable DotNetSlnList(this ICakeContext context) [CakeMethodAlias] [CakeAliasCategory("Sln")] [CakeNamespaceImport("Cake.Common.Tools.DotNet.Sln.List")] - public static IEnumerable DotNetListSln(this ICakeContext context, string solution) + public static IEnumerable DotNetSlnList(this ICakeContext context, string solution) { return context.DotNetSlnList(solution, null); } diff --git a/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake b/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake index 8b8386e8bd..2843f06f6c 100644 --- a/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake +++ b/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake @@ -444,7 +444,7 @@ Task("Cake.Common.Tools.DotNet.DotNetAliases.DotNetListSln") // Given var path = Paths.Temp.Combine("./Cake.Common/Tools/DotNet"); var solution = path.CombineWithFilePath("hwapp.sln"); - var project = "hwapp.common\hwapp.common.csproj"; + var project = "hwapp.common/hwapp.common.csproj"; // When var result = DotNetSlnList(solution.FullPath); // Then