473,387 Members | 1,700 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,387 software developers and data experts.

sorry for flogging a dead horse, but...

I've recently read a reply that says that when referencing a DLL that you've
built, you should reference it out of the 'obj' directory.
But the graphic on the help pag
ms-help://MS.MSDNQTR.2003FEB.1033/dndotnet/html/componentsnet.htm#componentsnet_topic1
clearly shows it being referenced out of the bin directory (when browsing
for the .DLL file of a generic assembly I've created).

What is the correct answer? I know it gets copied to the project's local
directory, but you can see how it's confusing.
Nov 16 '05 #1
3 1055
AFAIK you should always reference a DLL from the bin directory.

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

Patty O'Dors wrote:
I've recently read a reply that says that when referencing a DLL that you've
built, you should reference it out of the 'obj' directory.
But the graphic on the help page
ms-help://MS.MSDNQTR.2003FEB.1033/dndotnet/html/componentsnet.htm#componentsnet_topic1
clearly shows it being referenced out of the bin directory (when browsing
for the .DLL file of a generic assembly I've created).

What is the correct answer? I know it gets copied to the project's local
directory, but you can see how it's confusing.

Nov 16 '05 #2
Hi,

Is this a web app?

If so the bin directory is the site to look, the obj is a temp directory
IIRC. I had a link somewhere that explained where and in which order the
framework search/load the dll , I cannot find it now though :(

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Patty O'Dors" <Pa********@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
I've recently read a reply that says that when referencing a DLL that you've built, you should reference it out of the 'obj' directory.
But the graphic on the help page
ms-help://MS.MSDNQTR.2003FEB.1033/dndotnet/html/componentsnet.htm#components
net_topic1 clearly shows it being referenced out of the bin directory (when browsing
for the .DLL file of a generic assembly I've created).

What is the correct answer? I know it gets copied to the project's local
directory, but you can see how it's confusing.

Nov 16 '05 #3
Hi Patty,

It is the bin directory where you need to look into, the obj is just a temp
directory.

Also note that you cannot always garantee that what you read in the
newsgroup is true, sometimes the post are wrong , even posts from MVP and MS
folks , nobody is perfect after all :)

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:OT**************@TK2MSFTNGP09.phx.gbl...
Hi,

Is this a web app?

If so the bin directory is the site to look, the obj is a temp directory
IIRC. I had a link somewhere that explained where and in which order the
framework search/load the dll , I cannot find it now though :(

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Patty O'Dors" <Pa********@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
I've recently read a reply that says that when referencing a DLL that you've
built, you should reference it out of the 'obj' directory.
But the graphic on the help page

ms-help://MS.MSDNQTR.2003FEB.1033/dndotnet/html/componentsnet.htm#components net_topic1
clearly shows it being referenced out of the bin directory (when browsing for the .DLL file of a generic assembly I've created).

What is the correct answer? I know it gets copied to the project's local
directory, but you can see how it's confusing.


Nov 16 '05 #4

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

Similar topics

4
by: Christian Tismer | last post by:
Dear Former Stackless Users, I have to use this list to announce something really bad to you, since all the Stackless lists are defunct: The Stackless project is finally dead, now and forever....
0
by: Tipwinners | last post by:
This is a multi-part message in MIME format ---=_AZROORDVTILVT.01AA02E60255CJO.02940930 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit This is an HTML...
19
by: Lyle Fairfield | last post by:
MSDN Home > MSDN Library > Win32 and COM Development Data Access Microsoft offers many data access technologies to suit various development needs. This section of the MSDN Library contains...
3
by: Sloan.Kohler | last post by:
Is Jython development dead or has it just seemed that way for over a year?. The jython.org website has a recent new appearance (but no new content) and there is some message traffic on the...
280
by: jacob navia | last post by:
In the discussion group comp.std.c Mr Gwyn wrote: < quote > .... gets has been declared an obsolescent feature and deprecated, as a direct result of my submitting a DR about it (which...
3
by: ianlukekane | last post by:
I've spent the past few weeks looking into various reporting mechanisms that will enable our company to create automated Excel reports in a "better" way. Currently, we're running a copy of Excel...
2
by: priya08 | last post by:
System affected by Trojan horse virus. Anti-virus is having in the system but it is detecting the virus but not removing the virus... Tell some antivirus to remove it.... when the system is logged...
0
by: =?Utf-8?B?UmFuZ2VyODAx?= | last post by:
Hi All My virus software detected a trojan horse virus in the smss.exe and winlogon.exe files that were located in my C:\Program Files\Common Files\ Since then I can no longer log onto my MS...
4
by: bukzor | last post by:
Does anyone have a pythonic way to check if a process is dead, given the pid? This is the function I'm using is quite OS dependent. A good candidate might be "try: kill(pid)", since it throws an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.