Skip to content

Commit 010ab54

Browse files
committed
Use DotNetCoreClean to clean projects output
1 parent 5d972ea commit 010ab54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ private void CleanProjects(string projectKind, IEnumerable<string> projectNames)
270270
{
271271
foreach(var project in projectNames)
272272
{
273-
CleanDirectories($"./{projectKind}/{project}/bin/**");
274-
CleanDirectories($"./{projectKind}/{project}/obj/**");
273+
var projectPath = File($"./{projectKind}/{project}/{project}.csproj");
274+
DotNetCoreClean(projectPath.ToString());
275275
}
276276
}
277277

0 commit comments

Comments
 (0)