question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't work without OpenCvSharpExtern.pdb file

See original GitHub issue

Summary

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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
shimatcommented, Nov 16, 2020

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.)

0reactions
midwancommented, Nov 16, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found