This is a discussion on Can we put the reference dll in to a specific folder? within the C# Programming forums, part of the Software Development category; Hi there, I'm developing an application which is referenced a dll using VS 2005. When I compile that, it ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi there, I'm developing an application which is referenced a dll using VS 2005. When I compile that, it will put the referenced dlls to the same folder with .exe file, but I want to put those dlls in a child folder like "dlls/" . How to do that?
__________________ cheers Aman |
|
#2
| |||
| |||
| If the dlls aren't in the same folder as the exe your exe won't usually find and load them (if they're .NET assemblies).
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
|
#3
| |||
| |||
| yes, but who knows how to have the .exe to find dlls in child folder?
__________________ cheers Aman |
|
#4
| |||
| |||
| You can add some subfolder to your AppDomain by using AppDomainSetup.PrivateBinPath. Additional you can use the obsolete method AppDomain.CurrentDomain.AppendPrivatePath but using the first one should be your favorite.
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Folder Redirection | arjkhanna | Operating Systems | 4 | 07-01-2009 03:53 AM |
| Renaming a folder. | Akhil | Java Programming | 0 | 02-12-2009 10:15 PM |
| pagination for a folder? | saravanan | PHP Programming | 0 | 03-21-2008 04:53 AM |
| CON Folder in Windows | Sabari | Server Management | 1 | 12-01-2007 02:40 AM |
| Using C# and VB.NET classes together in the App_Code folder | Gopisoft | VB.NET Programming | 0 | 07-17-2007 09:39 PM |
Our Partners |