Click here to Skip to main content
15,887,435 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
hi, i just found out that is possible to select specific path for reference files. and i created 'Plugins' folder in my debug folder where the .exe is, and i do right click > add reference on the project and i select a .dll from 'Plugins' but when i run, all the dll's are copying to the debug where the .exe is, i dont like this, i want the dlls do be referenced from the 'Plugins' folder.... is this a problem or its how it works?!

>> PICTURE <<
Posted
Updated 13-Jan-15 4:18am
v2

1 solution

You can right-click|properties the reference and set "Copy local" to false.
 
Share this answer
 
v2
Comments
SrgjanX 13-Jan-15 10:26am    
yeah i just did that and it doesnt copy but it doesnt work either, as you can see one of the dll's on the picture, the location is correct but i doesnt read it for some reason, its like the dll is not even loaded inside the project..
http://i.imgur.com/g4gMbjw.png
if the reference path was incorrect then on the dll would be shown yellow triangle, but here is good and the path is correct but the dll doesnt work.. :/
PIEBALDconsult 13-Jan-15 10:30am    
Well, ordinarily you don't make a reference to a plug-in anyway; you load it dynamically.
You may also try putting the DLLs into the GAC.
SrgjanX 13-Jan-15 10:36am    
what is GAC?
PIEBALDconsult 13-Jan-15 10:42am    
http://msdn.microsoft.com/en-us/library/ex0ss12c(v=vs.110).aspx
SrgjanX 13-Jan-15 10:57am    
damn it looks messed up, okay man im gonna select as solution and will research on google to find how to dynamicly add dll. thanks for ur time.

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