473,396 Members | 2,011 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,396 software developers and data experts.

Locating DLLs outside of bin

Would anyone mind explaining how I can use .dlls outisde of /bin?
Really I want to use dll's that are located in "../", but I haven't
been able to get .Net to look outside of my base directory. I tried
this in web.config:

<configuration><runtime><assemblingbinding xmls="urn:schemas-microsoft-
com:asm.v1"><probing privatepath="../">...

If there is no way to look outside my base directory, is there a was
to look for dll's in the base directory (instead of bin)?

Thanks for any help,
James

Apr 5 '07 #1
3 1951
Hello James,

Just add reference to them via VS IDE

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

JWould anyone mind explaining how I can use .dlls outisde of /bin?
JReally I want to use dll's that are located in "../", but I haven't
Jbeen able to get .Net to look outside of my base directory. I tried
Jthis in web.config:
J>
J<configuration><runtime><assemblingbinding
Jxmls="urn:schemas-microsoft- com:asm.v1"><probing
Jprivatepath="../">...
J>
JIf there is no way to look outside my base directory, is there a was
Jto look for dll's in the base directory (instead of bin)?
J>
JThanks for any help,
JJames
Apr 5 '07 #2
asp.net uses its own loader, and its rather simple. when it starts up it
copies the bin dll's to the temp folder it actually runs the site in. a
load a dll at runtime it must be in the temp folder or in the system
folder. if you add a reference to the project (or web.config) the dll's
will copied to the temp folder.

-- bruce (sqlwork.com)
james wrote:
Would anyone mind explaining how I can use .dlls outisde of /bin?
Really I want to use dll's that are located in "../", but I haven't
been able to get .Net to look outside of my base directory. I tried
this in web.config:

<configuration><runtime><assemblingbinding xmls="urn:schemas-microsoft-
com:asm.v1"><probing privatepath="../">...

If there is no way to look outside my base directory, is there a was
to look for dll's in the base directory (instead of bin)?

Thanks for any help,
James
Apr 5 '07 #3
Thanks Bruce. Do you know how I would add a reference in the
web.config? Could I specify an absolute path? Right now our
installer is copying dll's to our application's main folder, and a
second time to /bin for our website.

-James

Apr 5 '07 #4

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

Similar topics

6
by: Jon | last post by:
I have 3 VB.net executables that reference the same 3 VB.Net DLLs. How is the best way to distribute the EXEs without putting 3 copies of of DLL on a user's machine. I looked into Private...
0
by: Dave Jackson | last post by:
Hi all, I'm attempting to create a console app similar to Microsoft's MMC that will allow us to create a single user interface, and any apps we create will be accessible as snap-in dlls. I've...
7
by: Oenone | last post by:
I'm sure there's an obvious way to do this, but I'm missing it so far. I have an ASP.NET application that relies on several DLLs to work. Currently in order to get my site working I have to put...
9
by: tshad | last post by:
I have my Classes that I have built in asp.net and the Dlls go into the bin folder I need to write a service that will run on the Web service and will access Sql Server to find clients that have...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
1
by: Shiraz | last post by:
Hi It seems like none of the old posts get any follow up after a few messages, whether or not something constructive comes out of them, so I'm left with no choice but to repost an earlier...
6
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hello, I have a class hierarchy distributed over 3 native C++ dlls. The base class has a .NET Windows.Form for status output via a gcroot<>. The gcroot is declared private - the sub classes only...
4
by: Ty | last post by:
Hi all Short version of my problem: i have a Datagrid (Flexgrid from ComponentOne) with a Datatable as source. I need to search a row in the datatable, using a primary key column in the...
6
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
Using Visual Studio 2005, I have created 4 small DLLs that our company projects can use to access common tools included in each of the separate DLL files. Our Visual Studio 2005 applications...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.