Click here to Skip to main content
15,867,997 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How would I change the location of all the runtime assemblies (dlls) in my vb.net project?
Posted
Comments
Kornfeld Eliyahu Peter 15-Mar-15 2:47am    
Do you mean at what address it loaded into the memory?
iProgramIt 17-Mar-15 3:17am    
No, I mean where it is physically located like in a folder like "MyAppFolder\RuntimeLib" and it loads from there

You're looking for something along the lines of this[^].

You can also add an entry to your apps app.config file to specify additional probing paths, here[^].
 
Share this answer
 
Open the application MyProject tab. Go to References. Remove the reference to the DLL you do not want. Add the reference to the DLL you do want by clicking the "Add" button lower right of first pane. A dialog box will appear, click the browse button, navigate to the folder where the desired DLL resides, select the DLL and finally check the check box next to the DLL you just indicated in the current list. Click OK.

regs.

ron O.
 
Share this answer
 
Comments
Dave Kreskowiak 17-Mar-15 14:57pm    
Your solution has nothing to do with the question.
bojammis 17-Mar-15 17:28pm    
As you have quickly pointed out.
iProgramIt 17-Mar-15 19:35pm    
Mate, that will copy it to the current directory
bojammis 17-Mar-15 21:48pm    
I was trying to say that if you have placed a dll into another folder besides the bin or debug folder you can point to that one.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900