Groups | Blog | Home
all groups > visual studio .net setup > march 2006 >

visual studio .net setup : build fails with vsdraCOM setting


Kyle Key
3/2/2006 7:28:36 AM
I have C# object that contains an interface and a class that implements that
interface. Both the interface and the class are decorated with the
ComVisible(true) attribute.
I am trying to create a setup package using Visual Studio 2005 Team Edition
for Software Developers. I have tried adding the dll containing the class
above by selecting "Project Output....", "File....", and "Assembly....".
Also, I have tried creating the msi package by having the setup project in
the same solution and a separate solution as the C# component.
Now, to the problem. When I set the Register property to vsdraCOM the build
always fails. The error message is:
Error 1 Unable to build assembly named 'CSComObj.dll', HRESULT ==
'0x80070002' C:\Documents and Settings\kwkey\My Documents\Visual Studio
2005\Projects\CSComObj\CSComObjInstall\CSComObjInstall.vdproj CSComObjInstall

I have tried this with several components and always get the same results.
Any ideas?
Thanks in advance for your help.

Kyle Key
Kyle Key
3/3/2006 1:03:27 PM
an update:
I was able to build my setup project using Visual Studio 2005 Professional
Edition.


[quoted text, click to view]
AddThis Social Bookmark Button