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:

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