Visual Studio registry capture utility has stopped working, error compiling C# project in Windows7

.net, c#, compiler-errors, visual-studio, windows-7

Solution

From Microsoft Connect:

- Locate regcap.exe here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Deployment

- Right click and select properties.

- Select Compatibility tab

- Check box to Run this program in compatibility mode.

- Select Windows Vista SP2 in the OS drop-down and Run as Administrator.

- Click Ok and Recompile.

This solution also works on Windows 7 with Visual Studio 2008 (32 bit version), where in the 5th step, you just need to select the check box in the last group box "Privilege Level" for "Run this program as an administrator"

Problem

Visual Studio registry capture utility has stopped working.... http://easycaptures.com/fs/uploaded/256/9376236710.png Windows 7 Shows build error like below everytime I compile my project.

Original source