In Visual Studio Solution, how not to copy any dll's in vcpkg into binary's folder? #19128
Replies: 8 comments 1 reply
-
Without copy the dependencies, your program will not run or be debug successfully. |
Beta Was this translation helpful? Give feedback.
-
@JackBoosY |
Beta Was this translation helpful? Give feedback.
-
Usually, the program will find the folder where the program is located, the folder in the |
Beta Was this translation helpful? Give feedback.
-
It's ok, just to see if it can be better. Is it better to have an option of vcpkg in VS project setting that contorls wheather to copy depent dll's? |
Beta Was this translation helpful? Give feedback.
-
Maybe we can add a option to control this. @strega-nil Do you agree with it? |
Beta Was this translation helpful? Give feedback.
-
Yeah, sounds reasonable. I'll talk about it at next weeks meeting. |
Beta Was this translation helpful? Give feedback.
-
Assigning @ras0219 since this is apparently a thing already. |
Beta Was this translation helpful? Give feedback.
-
Alternatively you can just set some additional paths to DLL folders for particular project within the solution. To do so, just go to "Project Properties" -> "Debugging" -> then set the "Environment" value to something like "PATH=%PATH%;C:\DEV\vcpkg\installed\x64-windows\bin;" |
Beta Was this translation helpful? Give feedback.
-
By default, e.g. it'll copy all depending dll's into
path\to\vs_solution\x64\Debug
.Any option to not copy the dll's?
Beta Was this translation helpful? Give feedback.
All reactions