What problem does it solve?
Testing MSBuild changes inside Visual Studio normally requires a full VS insertion cycle, making it hard to verify local fixes against real solutions or debug MSBuild when invoked by devenv.exe. This Skill walks you through replacing VS's bundled MSBuild with your locally-built binaries, capturing binary logs, and restoring the original state safely.
Core Features & Use Cases
- Guided Deployment: Step-by-step instructions to build MSBuild, locate the correct VS MSBuild Bin folder with vswhere, and run the Deploy-MSBuild.ps1 script with the right parameters.
- In-VS Debugging: Configure environment variables like MSBuildDebugBuildManagerOnStart and MSBuildDebugEngine to break into the debugger or capture full binary logs from design-time and real builds inside VS.
- Backup and Restore: Automatic timestamped backups plus recovery guidance via backup folders or VS Installer Repair if something goes wrong.
- Use Case: You fixed an MSBuild evaluation bug and want to confirm it resolves a customer solution that only reproduces through Visual Studio builds. Build the repo, deploy to your VS 2022 Enterprise Bin folder, reopen VS, and capture a binlog to verify the fix.
Quick Start
Deploy my locally built MSBuild into my Visual Studio 2022 installation so I can test my changes from within VS.