473,796 Members | 2,520 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Project References or Assembly References?

What is the recommended method of referencing libraries in Visual Studio
2005. Project references or Assembly references?
Nov 7 '06 #1
3 1490
What is the recommended method of referencing libraries in Visual
Studio 2005. Project references or Assembly references?
If they are in the same solution, use project references because they are
more resistent to changes. So, if you change the output filename of a project,
the reference will still work.

Best Regards,
Dustin Campbell
Developer Express Inc.
Nov 7 '06 #2
Project references are for additional projects in the same solution. The
output of each build will be referenced. Assembly references are for compiled
assemblies. Those are the framework dlls, extra assemblies in the GAC, and
3rd party assemblies.

"User1013" wrote:
What is the recommended method of referencing libraries in Visual Studio
2005. Project references or Assembly references?
Nov 7 '06 #3
When dealing with your own code use project references. If the project is
not part of the solution, add it. This way if the code for any of the
referred projects, those projects will automatically be rebuilt and the new
dlls will be brought in and referenced by your exe.

..02
jim
"User1013" <ab*@231245o.1f .co.ukwrote in message
news:ei******** ***@custnews.in web.co.uk...
What is the recommended method of referencing libraries in Visual Studio
2005. Project references or Assembly references?

Nov 7 '06 #4

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

Similar topics

12
1662
by: Jones | last post by:
I am having problems with my C# project. The project was built using VS.net (original release with service pack 1). The project includes windows forms and a DLL (dot.net) After getting the application working, everything compiled and was troubleshooted. Ready for delivery, the owner decided to change the Name of the application and DLL. After discussing this with another developer, we decided that the namespace in the application...
8
19900
by: Paul | last post by:
Hi all may I know how to use C# DLL inside my VC++ Project ? Thanks in advance.
4
14494
by: Jimi | last post by:
Given a C# project file path, can I use reflection to get all the assemblies referenced by the project? e.g., I know the path of a C# project, say, "c:\SomeProject.csproj", and I want to load its referenced assemblies to construct a list of their members for display. Note that "c:\SomeProject.csproj" is not the current project, it's just a project we're displaying information about in the utility I'm trying to construct.
1
1495
by: Jimi | last post by:
(Sorry for the repost, but I thought maybe I'd have better luck this time) I'm working on a utility to provide an overview of one's .NET projects and one of the things I want to display is detailed information about what each project references, whether it is assemblies in the GAC or non-GAC assemblies or other .NET projects. From the project file I can get the assembly names of all assemblies referenced by a project, including other...
4
2893
by: Christopher C. Bernholt | last post by:
We have a solution which contains 2 projects. The first project is a windows control and it references an assembly. The second project is a test windows application used to test the windows control from the first project. As such, it references the windows control using a project reference. In addition, it also references the same assembly that the first project references. The assembly which is referenced by both projects contains...
22
8942
by: Brett Romero | last post by:
If my UI app uses three DLLs and two of those DLLs reference something named utilities.dll, does the UI app load utilities.dll twice or does the compiler recognize what is going on and load utilities.dll just once? Thanks, Brett
3
2117
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our code, but this becomes problematic when you want to build from multiple branches/working directories. Any thoughts on this would be appreciated. Thanks
24
2797
by: =?Utf-8?B?RHIuIFMu?= | last post by:
I am incorporating three existing programs into a new "all in one" program. I have added the three projects to the new all in one project. How do I instruct the new initial menu to launch the main menu in each one? I have tried using the DIM statement with .ShowDialog, however, the forms are not recognized as they are listed in seperate projects. Please advise. Thanks, Dr. S.
2
2441
by: HONOREDANCESTOR | last post by:
I would like to put a dll and a project in the same solution. So I created a project (of type exe) and then I chose 'new project' (of type class library) and picked the option 'same solution'. So it looks like I created 2 projects in the same solution, which is what I wanted to do. However, I want the exe-project to call the dll-project. The dll project has a class called "ClassSayThings", and a method called "sayHello". When I look...
0
9680
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, 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...
0
9528
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,...
0
10230
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 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...
1
10174
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,...
0
10012
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 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...
0
5442
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...
1
4118
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
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.