Saturday, October 30, 2010

VS2010 registry capture utility keeps crashing!

My final problem before my projects would rebuild on my new Windows 7 machine was that I kept getting this message:


The text in this dialog says:
Microsoft (R) Visual Studio registry capture utility has stopped working.
After searching the web for a while I found the solution in StackOverflow, where the answer refers to a workaround at Microsoft Connect.

Anyways, here is the workaround procedure to use to fix this problem (this is actually a Windows 7 problem?!):
  1. Locate regcap.exe here: C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\Deployment
  2. Right click and select properties.
  3. Select Compatibility tab
  4. Check box to Run this program in compatibility mode.
  5. Select Windows Vista SP2 in the OS drop-down and Run as Administrator.
  6. Click Ok and Recompile.
This solved the problem for me and now my batch of projects build in VS2010 on my new Windows 7 machine.

0 comments: