i've a c# wincontrol that depends on a bunch of c++ unmanaged dlls.
dotnetctrl.dll
+
+--myliba.dll
+
+--mylibb.dll
Is there a way to include these mylib[a|b].dll when deploying the dotnetctrl.dll? i.e. When in a project I add a reference to dotnetctrl, is there a way to make the mylib dlls available in the right path just like .NET assembly?
Click on the unmanaged DLLs, then in Properties, change the "Build Action" to "None" and the Copy to Output Directory to "Copy if newer"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With