Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想把它封装到一个dll里面,但是报错找不到dll\x64\paddle_inference_c.dll #90

Open
Zhx-Chenailuoding opened this issue Apr 17, 2024 · 3 comments

Comments

@Zhx-Chenailuoding
Copy link

Describe the bug

我想做一个图片识别的dll,可供给其他程序直接调用,然后打包的时候,用的是Costura.Fody或者ILMerge,直接在Rider里面build了一个dll出来。但是在调用的时候,就出现了dll\x64\paddle_inference_c.dll报错。我已经是把它放到了打包目录下了。

Steps to reproduce the bug

1.先用ILmerge进行打包
2.在其他项目引用该dll
3.调用dll的识别方法

Expected behavior

No response

Screenshots

image

Release version

netframework 4.8.1
c# 7.3

IDE

Rider

OS version

win11

Additional context

No response

@sdcb
Copy link
Owner

sdcb commented Apr 17, 2024

我没用ILmerge测试过,但你能不能试试.NET Core,它也支持WPF

@Zhx-Chenailuoding
Copy link
Author

opencvsharp好像不支持net core
1713344047440

@sdcb
Copy link
Owner

sdcb commented Apr 17, 2024

OpenCvSharp4支持的.NET Core,是你的System.Web不支持.NET Core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants