diff --git a/make.ps1 b/make.ps1 index 62e0d0427b..e371f807a9 100644 --- a/make.ps1 +++ b/make.ps1 @@ -38,8 +38,8 @@ function Clean-Command { $proc = Start-Process $msBuild $msBuildArguments -NoNewWindow -PassThru -Wait rm *.dll - rm *.dll.config rm mods/*/*.dll + Get-ChildItem *.dll.config -exclude OpenRA.Platforms.Default.dll.config | Remove-Item rm *.pdb rm mods/*/*.pdb rm *.exe