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

1 comment:

Jason said...

Good tip! I was running vs2005 and it would choke like you said. I didn't try compatibility mode; but I did turn off the COM visibility :)
thank you