Created
January 11, 2024 15:14
-
-
Save AvgustPol/00e5389c202bca8c811c8229645bccc0 to your computer and use it in GitHub Desktop.
[ .NET CORE ] Remove all cached obj, bin folders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse } |
P.s. I'm not claiming myself as the author of this script
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're having issues with dotnet clean feel free to use this simple
powershellscript for cleaning up the folders recursively so you'll sure there are nobinandobjfolders there (works much faster than IDE or CMD clean methods)