473,830 Members | 2,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Difference between bin and obj directories and difference between project references and dll references

hello all,

whats the Difference between bin and obj directories and difference
between project references and dll references?

thanks
jack

Nov 19 '05 #1
4 4037
Funny, someone was asking me that the other day.

Bin is where the final compiled code is stored.
Obj is where the compiler stores intermediate files...these are used for
incremental builds (if you build a 2nd time, it doesn't rebuild the entire
project and can reuse some of the stuff from the first time in obj to make
the build faster). C++ makes use of obj much more than C#/Vb.Net

Project reference references an existing project which is part of the
solution. Dll reference simply points to a DLL of the file (if you pick DLL
reference, make sure to reference the file from the bin folder (the better
of two evils, in my opinion)). If you have the time and/or inclination,
check out
http://msdn.microsoft.com/library/de...l/tdlg_ch4.asp
for more details on this last question. Personally, I prefer project
references whenever possible (ie, when the source code is within my
control).

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"jakk" <rj******@gmail .com> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.com.. .
hello all,

whats the Difference between bin and obj directories and difference
between project references and dll references?

thanks
jack

Nov 19 '05 #2
Thanks for your reply!! I have one more question. I see one more folder
lib. Whats does this have??

Nov 19 '05 #3
Thanks for your reply!! I have one more question. I see one more folder
lib. Whats does this have??

Nov 19 '05 #4
Thanks for your reply!! I have one more question. I see one more folder
lib. Whats does this have??

Nov 19 '05 #5

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

Similar topics

2
3218
by: nfr | last post by:
Default build directories seem to be somewhat different between C# and Visual Basic.NET. Both have "Debug" and "Release" directories under "obj". However, Visual Studio.NET defaults to a single "bin" directory whereas C# appears to duplicate the "Debug"/"Release" pattern under bin. This is creating problems for me in regards to browsed "References" added to a project. With C# I need to pick one, which is going to be bin/Debug during...
6
4849
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and the other named Public. I placed my web.config file in my
3
2018
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the virtual directory on my pc the directory does not exist. If i create the folder from explorer then select hide/show files within vs.net I see the directory I just created. When I include that directory in my project by right clicking and selecting...
3
2277
by: Charlie Calvert | last post by:
I'm new to C# and am used to Java, where there is a correspondence between package names and directories. I'm having trouble creating the same functionality in Visual Studio. In particular, I'm having trouble compiling such projects. As an example, suppose I have a project called ConsoleApplication1. It is stored in a directory called c:\src\ConsoleApplication1. I want to add a file to this project that is called MyFile.cs and is stored...
3
2715
by: Arpi Jakab | last post by:
I have a main project that depends on projects A and B. The main project's additional include directories list is: ...\ProjectA\Dist\Include ...\ProjectB\Dist\Include Each of the include directories contain a file named "cppfile1.h". In my main project I #include "cppfile1.h". I rely on the order of paths in additional include directories list to get file cppfile1.h from ProjectA and
0
1600
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went haywire and the best solution was to blow away everything on the build server related to this solution (both filebase and virtual directories hanging off the default website). I recreated the shell of our solution's web projects...
2
3555
by: Amit | last post by:
Hello, I have a class where I store a lot of setting names. Right now they're all declared as consts : public const CurDoc as string = "CURRENT_DOCUMENT" From what I know about const, every call to CurDoc will be replaced with the text "CURRENT_DOCUMENT" during compilation. Is this right? If yes then wouldn't it be better to declare it as: public shared readonly CurDoc as string = "CURRENT_DOCUMENT"
4
3009
by: AA | last post by:
Hi, I am having to vb files. One is located under C:/VB/main and the other is under C:/VB/class. File under main looks like: <code> Module Module1 Sub Main() Dim test As New Test1
6
17032
by: =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post by:
Hello, I am using Visual Studio-2003. I created a project to build my library. Since I am using third party libraries as well, I have specified those additional library dependencies in project as "Additional Dependencies" under Linker-Input options. Since those libraries are also in different directory, I specified that library path in project as "Additional Library Directories" under Linker-General options. This is where I see some...
0
9790
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
10481
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...
0
10199
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
9312
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, 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...
1
7741
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6948
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5779
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3956
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3074
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.