Are there any better ways to copy a native dll to the bin folder?

前端 未结 6 1079
别跟我提以往
别跟我提以往 2020-12-01 09:15

I have C# wrapper code that calls functions from a native (C++) dll. Currently, I can add a reference to the C# dll and have set the \'Copy Local\' option to true. However t

6条回答
  •  我在风中等你
    2020-12-01 10:19

    Add the dll as a file in the project ("As link" maybe if u still want it to reside in another directory). Then set the Build Action to content and Copy to output directory to true.

提交回复
热议问题