Groups | Blog | Home
all groups > dotnet framework > august 2005 >

dotnet framework : Reference VS2005 assembly from VS2003 project



Mattias Sjögren
8/31/2005 12:00:00 AM

[quoted text, click to view]

No, you need to switch to VS2005 / .NET 2.0 for the client too (the
referencing project).


Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Jody Gelowitz
8/31/2005 10:20:21 AM
Is this possible?

I have compiled an assembly in VS2005 and am trying to add a reference to
that assembly from my VS2003 project. The error that I am getting is:
A reference to '{path to vs2005 dll}' could not be added. This is not a
valid assembly or COM component. ONly assemblies with extension 'dll' and
COM components can be referenced. Please make sure that hte file is
accessible, and that it is a valid assembly or COM component.

Do I need to make my VS2005 assembly "COM Visible" and "Register for COM
interop" in order for this to work?

Thanks,
Jody

Jody Gelowitz
8/31/2005 11:02:10 AM
I have tried making the VS2005 assembly COM Visible and Register for COM
interop, but that did not work.

Jody


[quoted text, click to view]

AddThis Social Bookmark Button