If you’ve worked with Visual Studio build customization, installers, or MSI setups for older projects, you’ve probably run into vspreclean and vsprecleanvsexe. These tools relate to how Visual Studio handles file and registry pre-cleaning and exclusive file locks during build or deployment operations—important when troubleshooting setup/upgrade issues for Visual Studio 2012 or when automating builds on developer machines and build servers.
Microsoft.CppClean.targets or vspreclean tasks.devenv.exe or MSBuild.exe holding a handle to the output file.: Removing temporary setup files from interrupted installation attempts to prevent "Installation Blocked" errors. Super User Common Issues and Troubleshooting vsprecleanvsexe visual studio 2012 exclusive
REM 3. Start profiling vsperfcmd /start:trace /output:MyApp.vsp Error message includes: “Cannot delete file … Access
Troubleshooting Visual Studio 2012: The vsprecleanvs.exe Exclusive Guide or MSI setups for older projects