Can't work without OpenCvSharpExtern.pdb file
See original GitHub issueSummary
When you delete the OpenCvSharpExtern.pdb
, the program (with opencvsharp from nuget) will not work.
Note: The OpenCvSharpExtern.pdb
is too large, so I tried to delete it when building release.
And the pdb just generated regardless with
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
Environment
Windows 10, .NET 5.0 Preview 6
What did you do when you faced the problem?
Publish the program with R2R enabled, delete the OpenCvSharpExtern.pdb
and run the program.
Output:
Error:
An assembly specified in the application dependencies manifest (Auto Arknights CLI.deps.json) was not found:
package: 'OpenCvSharp4.runtime.win', version: '4.3.0.20200701'
path: 'runtimes/win-x64/native/OpenCvSharpExtern.pdb'
What did you intend to be?
The program works properly without the .pdb file.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Provide symbol files for OpenCvSharpExtern · Issue #776
Summary of your issue I'm interested in seeing symbols for OpenCvSharpExtern.dll when viewing performance traces in PerfView.
Read more >OpenCVSharp: Unable to load DLL 'OpenCvSharpExtern'
CvMat is working OK (loading, manipulation etc) so I am sure the installation is correct. However I cannot use OpenCVSharp.CPlusPlus at all! The ......
Read more >Questions in topic: "dllimport"
I have a DLL file (not my custom dll) work as communicator to another devices. There is an example solution (WPF) that use...
Read more >[Solved]-Unable to locate package libjasper-dev-Opencv
This Solution was tested on mendel(debian) with arm64 architecture. If this works for Ubuntu is not clear. Open terminal and run the following...
Read more >Untitled
NuGet Gallery OpenCvSharp4.runtime.win 4.7.0.20230115 WebSome OpenCvSharpExtern.dll files are not currently in our database, but they can be requested by ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for your comments. I’m not familiar with the details of pdb and NuGet either, but the OpenCvSharpExtern.pdb is a debug symbol for C++, not C#, so it seems to be handled differently than the C# pdb. I’ll try to remove it from the NuGet package. (I understand that C# pdb files (e.g. OpenCvSharp.pdb) are OK.)
@shimat Indeed, the problem is not with the rest of the pdb files, those are handled correctly. Only the
OpenCvSharpExtern.pdb
requirement seems to be causing the problem.