tags:

views:

1018

answers:

2

I have marked my DLL as vsdraCOM, and I can see it in the registry after installing, but my application does not see the COM interface until I call RegAsm on it manually. Why could this be?

The COM registration does not work on Vista (confirmed myself) and on XP (confirmed by a colleague). Using Visual Studio 2005 on XP.

A: 

What OS/Visual Studio version are you using to build the setup project?

Kev
+2  A: 

Well, I have found a solution:

  1. Run RegAsm.exe with the /regfile option to generate the registry entries.
  2. Manually import the .reg file into the VS Setup project by viewing the registry, right clicking, and choosing "Import..."
Nick