Hello!
I use C# and VS 2003
My exe file is using several class dll(assume we called then 1,2,3,4,5,6)
and some of these 6 class dll is using some of the other 5 class dll.
If I have a class Dll called Test.dll that I want to add a reference to I
use the add reference in project
settings and select the.NET tab and then brows to the directory and then
select the class dll called Test.dll.
Microsoft recommend that people should use project reference I just wonder
what does this mean actually and what advantage do I get. I just can't
understand what it means.
I mean that I must use that add reference and select the .NET tab and then
select the actual class dll.
//Tony 1 1572
Tony Johansson wrote: Hello!
I use C# and VS 2003
My exe file is using several class dll(assume we called then 1,2,3,4,5,6) and some of these 6 class dll is using some of the other 5 class dll.
If I have a class Dll called Test.dll that I want to add a reference to I use the add reference in project settings and select the.NET tab and then brows to the directory and then select the class dll called Test.dll.
Microsoft recommend that people should use project reference I just wonder what does this mean actually and what advantage do I get. I just can't understand what it means.
I mean that I must use that add reference and select the .NET tab and then select the actual class dll.
//Tony
If you have multiple projects in a solution, you can modify any one of
them, and rebuild all of them to incorporate any changes in any of
them. That way all the individual projects will be aware of the changes.
However, if the interface in the dll projects doesn't change, then
there's no necessity for using project reference.
T This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: public heath vb developer |
last post by:
We have a solution with 29 projects including a main menu and 28 dlls. One of the projects (Project B) was created by copying an existing project (Project A), making changes including the assembly name, root namespace, form name, and internal code. When the new project (Project B) was added to the solution and a reference to it was attempted to be added to the main menu project (Project MainMenu), the new project (Project B) reference did not...
|
by: davidw |
last post by:
I am using microsoft development enviroment 2003. I created a solution, and
have some projects, I put the root dir as my IIS home, and each project has
their own directory, so it is like
c:\solution
c:\solution\project1
c:\solution\project2
....
|
by: Lasse Edsvik |
last post by:
Hello
I'm trying to build a simple COM+ app in vs.net using C# and i cant register
it in component manager.....
what more is needed than this:
using System;
using System.EnterpriseServices;
|
by: VM |
last post by:
When I'm adding a reference to another project that is built as one of the
Projects in the Solution, should I add the dll in Debug or the one in
Release? I usually also do a batch build of everything (Release and Debug)
so I don't know if that would be a factor.
The reason I'm asking is that one of the projects that I'm adding to another
project as reference is not recognizing any of the new changes (new methods)
that I've made. I have to...
|
by: Steve B. |
last post by:
How do I reference a WinForm file (i.e. Class) in Project B from a WinForm
file in Project A?
I've previously used
Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NET
http://www.c-sharpcorner.com/2/pr12.asp
to create a dll reference for Project A but how do you reference a form in
one project to another form in another project?
**************
| |
by: Scott James |
last post by:
This seems like a strange one, but perhaps someone can shed some
light.
I have an interface: ItciEngine implemented by class tciEngine. Two
public methods in this class pass an object I've created: uiMessage:
Public Function TesterInteract(ByVal luiMessage As IuiMessage) As
IuiMessage
Implements ItciEngine.TesterInteract
|
by: Charles Law |
last post by:
Take a solution with a project hierarchy along the lines of an n-tier
system, so that we have a data layer, business layer and presentation layer.
The presentation layer is coupled to the business layer, and the business
layer is coupled to the data layer. So far so good.
Suppose the data layer raises an event, and it passes Me (the sender) as an
object, and e (MyEventArgs, a descendent of EventArgs) to the layer above
(the business...
|
by: liu |
last post by:
Hi all,
in my vb.net solution, i have 3 project:
1. Main-this is the startup or the base of my window application.
2. Sales-this is the project that contains all the sales info
3. Product-this is the project contains all product info
in my Sales project, i added the reference of the Product to Sales project
because I need to shows the Product info in my Sales.
in the other hand, i also need to show the Sales in my Product. now the
|
by: tony |
last post by:
Hello!
I have one solution file that consist of three project.
One project that build the exe file called A
One project that build a user control dll. In this user control we have a
class called B
One project that build a class library dll. In this class library we have a
class called C
In the user control project I have a project reference to the class library.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |