D
dln
I'm having a rather weird problem when attempting to build my project that
maybe someone could help me out with. Basically, I have a workspace
containing two C# projects. The first project is a straight assembly and
the second is a COM interop assembly which depends on the output from first
project. Both projects contain references to three interop assemblies. I
also have the projects configured to build their output files to a common
directory (so both projects dump their compiled dlls to the same directory).
The problem comes when referencing objects contained within the interop
assemblies. One project can see all the objects exposed from the interop
assemblies and the other will not. I can use the object browser to take a
look at the objects/interfaces exposed by the interop libraries, so I know
that at the very least the assemblies are readable. I can't explain why one
project will build with no errors whereas the other project will continually
not resolve objects defined in the interop assemblies - even though both
projects reference the same object types from the same assemblies. I'm a
bit of a newb when it comes to C#, so maybe there is an obvious solution to
this problem, but I'm at a loss. Does anybody have any ideas?
Thanks.
maybe someone could help me out with. Basically, I have a workspace
containing two C# projects. The first project is a straight assembly and
the second is a COM interop assembly which depends on the output from first
project. Both projects contain references to three interop assemblies. I
also have the projects configured to build their output files to a common
directory (so both projects dump their compiled dlls to the same directory).
The problem comes when referencing objects contained within the interop
assemblies. One project can see all the objects exposed from the interop
assemblies and the other will not. I can use the object browser to take a
look at the objects/interfaces exposed by the interop libraries, so I know
that at the very least the assemblies are readable. I can't explain why one
project will build with no errors whereas the other project will continually
not resolve objects defined in the interop assemblies - even though both
projects reference the same object types from the same assemblies. I'm a
bit of a newb when it comes to C#, so maybe there is an obvious solution to
this problem, but I'm at a loss. Does anybody have any ideas?
Thanks.