A powerful Visual Studio Code extension designed to help .NET MAUI developers keep their development machine clean and optimized. This extension provides a suite of tools to remove unnecessary files, clear caches, and manage SDK components efficiently.
- Removes
bin
andobj
folders from your opened workspace
- Clears the NuGet package cache which could grow enormous after a couple of projects
- Lists all iOS Device Support folders
- Allows selective removal of versions
- Manages Android SDK components
- Shows size for each component and version
- Lists iOS Simulator Runtime assets
- Shows usage status (in-use/not in-use)
- Hierarchical view of .NET packs and versions
- Allows selective removal of packs or versions
- Automatically keeps only the latest version of each component
- Platform-specific handling (macOS/Windows)
- Open VS Code
- Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
- Search for ".NET MAUI - Development machine cleaner tool"
- Click Install
- Reload VS Code
- Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
- Type "MAUI Clean" to see all available commands
- Select the command you want to use
- Follow the prompts to clean your development machine
Command | Description | Platform |
---|---|---|
MAUI Clean: Bin/Obj Folders |
Removes bin and obj folders from workspace | All |
MAUI Clean: NuGet Cache |
Clears NuGet package cache | All |
MAUI Clean: iOS Device Support |
Manages iOS Device Support folders | macOS |
MAUI Clean: Android SDK |
Manages Android SDK components | All |
MAUI Clean: iOS Simulator Runtime |
Manages iOS Simulator Runtime assets | macOS |
MAUI Clean: .NET Packs |
Manages .NET packs and versions | All |
MAUI Clean: All Except Latest Versions |
Keeps only the latest version of each component | All |
- Visual Studio Code 1.96.2 or higher
- .NET SDK installed
- For iOS features: macOS with Xcode installed
- For Android features: Android SDK installed
This extension contributes the following settings:
mauiCleaner.androidSdkPath
: Path to Android SDK (default: auto-detected)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for .NET MAUI developers