diff --git a/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake b/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake index d176a281d1..24a497e659 100644 --- a/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake +++ b/tests/integration/Cake.Common/Tools/DotNet/DotNetAliases.cake @@ -444,8 +444,7 @@ Task("Cake.Common.Tools.DotNet.DotNetAliases.DotNetSlnAdd") // Given var solutionPath = Paths.Temp.Combine("./Cake.Common/Tools/DotNet"); var solution = solutionPath.CombineWithFilePath("hwapp.sln"); - var projectPath = Paths.Temp.Combine("./Cake.Common/Solution/Project"); - var project = projectPath.CombineWithFilePath("Project.csproj"); + var project = path.CombineWithFilePath("hwapp/hwapp.csproj"); // When DotNetSlnAdd(solution.FullPath, new[] { (FilePath)project.FullPath});