Click here to Skip to main content
14,332,426 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 2

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[^].
   
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100