I have few packages with native dll.
我有几个本机DLL包。
While building the project I need to copy all native dll's to an output.
在构建项目时,我需要将所有本机dll复制到输出。
At the moment I found aonly 1 solution - Post-Build event - xcopy. But the problem is that I need to update packages path (with a new version) after any update
目前我发现只有一个解决方案 - 构建后事件 - xcopy。但问题是我需要在更新后更新包路径(使用新版本)
1 个解决方案
#1
0
The inly one good solution i found - to embed narive dll's as resource and add some kind of initialization or static constructor to DLL interface classe(s) that will save resources to the current folder.
我找到了一个很好的解决方案 - 将narive dll嵌入为资源,并将一些初始化或静态构造函数添加到DLL接口classe,这将节省资源到当前文件夹。
#1
0
The inly one good solution i found - to embed narive dll's as resource and add some kind of initialization or static constructor to DLL interface classe(s) that will save resources to the current folder.
我找到了一个很好的解决方案 - 将narive dll嵌入为资源,并将一些初始化或静态构造函数添加到DLL接口classe,这将节省资源到当前文件夹。