References in a Multi Project Solution

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have a problem in a 2 Project Solution that I am asking for help with.
I am using VB.NET 2010 to recreate an entire product line that currently exists in VB6.

Project 1) DLLTest which is a simple windows forms application for testing that will someday be replaced by my UI project. (main application in VB6)
Project 2) RWCP which is a Class Library and is the main Data Access layer for our entire product line. (dll in VB6)
I created the DLLTest project and then added the RWCP project to the solution. I followed this up by adding a project reference in DLLTest to the RWCP project. In the Object Browser I can see both projects. In fact when I refine the Custom
Component Set in the Object Brower to just the DLLTest project I can still see the properties and methods of both projects. This I think, tells me that my reference is working correctly.
Now, my problem is this; I add an "imports" statement to a form in DLLTest for RWCP, even though it does NOT show up in intellisense, and do a Build of the Solution I do not get an error. However, if I try to use any properties or methods of RWCS in
DLLTest I get an error message that the property or method is not defined. Thus, Intellisence and trying to use properties or methods acts as if the reference in DLLTest to RWCP was never created.
This test project is the basis for moving our entire software line to the DOT.NET framework and I a stuck on item 0.2
Thanks in advance to anyone who can help. I will be happy to post code or screen shots if I have not made myself clear or more info is needed.

View the full article
 
Back
Top