473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Mutiple projects under one solution - can't find a class in the first

I've made one solution containing two projects.
The first projects contains a control libary (dll) with a reusable
class.
The other projects contains a from which i wanna talk to the dll made
by the first project.
I've set the dependency from the other project to the first with the
solution explorer.

Only the Intellisense can't find the class in the list?
What am I doing wrong?

Jun 25 '06 #1
3 1183
BBM
Even though you've referenced the dll in the application project "References"
page (top part of the page), you still have to either check the block for the
DLL in the lower half of the property page (the Project-level "Imports"), or
you have to use the "Imports" statement in your application code.

HTH

BBM

"ko************@gmail.com" wrote:
I've made one solution containing two projects.
The first projects contains a control libary (dll) with a reusable
class.
The other projects contains a from which i wanna talk to the dll made
by the first project.
I've set the dependency from the other project to the first with the
solution explorer.

Only the Intellisense can't find the class in the list?
What am I doing wrong?

Jun 25 '06 #2
I tried to add the reference but it still doesnt see the class/dll so I
can use it in imports.

BBM schreef:
Even though you've referenced the dll in the application project "References"
page (top part of the page), you still have to either check the block for the
DLL in the lower half of the property page (the Project-level "Imports"), or
you have to use the "Imports" statement in your application code.

HTH

BBM

"ko************@gmail.com" wrote:
I've made one solution containing two projects.
The first projects contains a control libary (dll) with a reusable
class.
The other projects contains a from which i wanna talk to the dll made
by the first project.
I've set the dependency from the other project to the first with the
solution explorer.

Only the Intellisense can't find the class in the list?
What am I doing wrong?


Jun 28 '06 #3
That's weird. I figured it out.

You can add reference add solution level and on project level.
I must not reference the project at the project at self. But only at
the solution.
When I do that it will show using the imports. It is not possible when
you add them both.

ko************@gmail.com schreef:
I tried to add the reference but it still doesnt see the class/dll so I
can use it in imports.

BBM schreef:
Even though you've referenced the dll in the application project "References"
page (top part of the page), you still have to either check the block for the
DLL in the lower half of the property page (the Project-level "Imports"), or
you have to use the "Imports" statement in your application code.

HTH

BBM

"ko************@gmail.com" wrote:
I've made one solution containing two projects.
The first projects contains a control libary (dll) with a reusable
class.
The other projects contains a from which i wanna talk to the dll made
by the first project.
I've set the dependency from the other project to the first with the
solution explorer.

Only the Intellisense can't find the class in the list?
What am I doing wrong?


Jul 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jay W NOjwalkerSPAM | last post by:
I have some class objects each in separate projects that belong to a solution. The projects reference one another within that solution. The 'main' function calls the other procedure/function...
0
by: TaeHo Yoo | last post by:
Hi all, We have three web based applications (A, B and C) and they are kept on different source safe database say SourceSafeA, SourceSafeB and SourceSafeC respectively. A solution contains aa...
2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
1
by: Geoff Jones | last post by:
Hi I'm starting to look at C# after programming in C++ and was wondering if anybody could help me with the following questions: (1) What is the difference between a Project and Solution In...
5
by: Tinius | last post by:
I have created a class which I wish to reuse amongst several projects. But each time I Add the class to a new project, it creates a copy of that class in the folder of the new project. This means...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
0
by: Chris Morse | last post by:
Hi, I am creating a solution with two projects. Basically, they share a few common class files and forms. I finished one project, and it compiles and runs fine. I just finished bringing in...
5
by: Ohad weiss | last post by:
Hi all, I have a class in project A. At the same solution, I have another project - named project B. I want to write a piece of code in that class from project B that finds the class in...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.