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:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=466157&wa=wsignin1.0

 *** Update ***

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

http://stackoverflow.com/questions/2334005/visual-studio-registry-capture-utility-has-stopped-working-error-compiling-c-sh