473,659 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referencing Dependent .NET Libraries from various folder locations

1 New Member
Hi,

I have a .NET Assemble (DLL) which has dependencies on binaries that exist at 3 or 4 different folder locations. Is there any way in which I can set these paths for the assembly to probe for its dependencies?

When i copy all dependent dlls to a single directory location it works fine, but not otherwise.

I tried setting the path environement variable, no luck. And, .NET probing path also expects the dependent binaries to be in sub directories of the target assembly folder.

Is there any way in which I can force my assembly to look at all these folder paths for its dependent dlls so that i dont have to copy them all into 1 folder. The dependencies are from different vendors.

Any help on this will be appreciated.

Thanks,
Anand
Dec 15 '07 #1
0 1050

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1787
by: Alexander Landgraf | last post by:
Hi group, I am not sure if this is the correct place for my question. If not, please tell me. I tried to compile Python 2.3.4 under AT&T MP RAS SVR4: $./configure --prefix=${HOME} --with-threads=no $make but make fails because each invocation of ld causes errors like:
10
6099
by: Macka | last post by:
A few pieces of information first: * I have a class called Folder which represents a row of data in a database table. The data access side of things is not an issue. * The table has a parent column which references itself (ie. Adjacency or parent/child model) * I have a public property called 'Parent' which returns me a new reference to a Folder instance containing the data of the parent row.
2
1587
by: Cider123 | last post by:
Haven't done much research on this, hoping someone can offer a quick ref or solution to this. If I create a group of support libraries I want to use in multiple projects, is there some method you can use to reference a specific folder you might define? I know ideally all files are dumped into the same folder as the executable and you call it a day.
3
3853
by: gary | last post by:
Hi, I am trying to reference an anchor in a user control with a url. This worked in 1.1 but no longer works in 2.0. The ascx control is located in a "/include" folder If you have a hyperlink control and you assign the navigateurl property = "../#anchor" whereby you want to add this # reference to the current url the url ends up with the #anchor twice.
2
1888
by: Apprentice | last post by:
Hi there, Is there a way in which I can specify at runtime to an application the locations of shared dynamic libraries on which it depends? I do not want to use LD_LIBRARY_PATH or other LD constructs. My Shared libraries can be placed any place on the system by the end user and I would like to use shared libraries from that location as specified by user in a config file or as command line arguments . I needed this, since I want my...
3
1577
by: eduwushu | last post by:
Hi there. Im developing a c# app and i have a solution with some projects: the main project which generates the executable file and some other projects which some of them im compiling generate dll's which my main project needs to run. When i compile a dll project it generates the dll it implements. Then i take that dll and put it in the directoory where my main app executable is. Then i go to my main project and add a reference in it to...
2
1948
by: Chris Ashley | last post by:
I've written a C++ Wrapper DLL which I need to add a reference to in my ASP.Net project. This in turn is dependent on the DLL it wraps which is in turn dependent on some other DLLs. When I reference the wrapper DLL VS2005 copies it to the 'bin' directory and I am unable to compile with the error 'the specified module could not be found'. It still has the same behaviour if I copy all the dependent DLLs to my bin directory, but this isn't a...
3
1865
by: JohnGoogle | last post by:
Hi, Is it possible in Visual C# Express to reference source files from a folder other than the current project folder? I want to have a common folder with various cs source files and be able to reference the files from different projects. This will allow me to edit them as I develop projects. Or do you have to compile the common code into a DLL or EXE and reference them that way? Thanks.
1
2838
by: Tom | last post by:
My unsigned DLL works in my project that references it as long as I set Copy Local = true. Now I have signed the DLL with the sn.exe generated keys but have not yet moved the DLL into the GAC. Can I use a strong named DLL outside the GAC with Copy Local = false by providing a reference to the public key? If yes to above, please tell me how to reference the public key within
0
8427
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
8332
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
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8746
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
7356
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
6179
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
4175
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
2750
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
1737
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.