Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AvgustPol/00e5389c202bca8c811c8229645bccc0 to your computer and use it in GitHub Desktop.
Save AvgustPol/00e5389c202bca8c811c8229645bccc0 to your computer and use it in GitHub Desktop.
[ .NET CORE ] Remove all cached obj, bin folders
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse }
@AvgustPol
Copy link
Author

If you're having issues with dotnet clean feel free to use this simple powershell script for cleaning up the folders recursively so you'll sure there are no bin and obj folders there (works much faster than IDE or CMD clean methods)

@AvgustPol
Copy link
Author

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