Monday, December 7, 2009

RegCap.exe Unhandled Exception with Deployment Apps

If you have Deployment Projects in Visual Studio 2008 (maybe 2005 as well), and your app to deploy uses Make Assembly COM-Visible, RegCap.exe will crash when building the deployment project on Windows 7 (maybe on Vista as well).

The work-around appears to be running Visual Studio in XP Compatibility mode.

Here is some more info:

 *** Update ***

The previous link does not appear to exist anymore, but there is a Stack Overflow article that tells equivalent information: