vcpkg binary dependencies and C# -> C++ project dependencies #45072
Unanswered
chriche-ms
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm modifying a Visual Studio solution that has a bunch of C# and C++ projects. The C++ projects use vcpkg for a few of their binary dependencies (e.g. protobuf DLL) and the vcpkg integration 'just works', with the relevant DLLs getting copied around as required along with the project output DLLs. The C# projects in turn have dependencies on the C++ projects (using ProjectReference) and while the output DLLs of the C++ projects are getting copied across to the output directories of the managed projects the vckpg dependencies don't. Currently this is worked around with explicit copying of the DLLs but it's a bit of a maintenance headache. Is there a way to get the vcpkg dependencies copied through using just ProjectReference?
Beta Was this translation helpful? Give feedback.
All reactions