-
Notifications
You must be signed in to change notification settings - Fork 130
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
"FileNotFoundException on Assembly WebEye.Stream.x64/32"/ .net core 3.1 using demo Stream.GetLocalStreams #73
Comments
Hello, sorry, did not test it with .net core, try .net framework. |
Yes the demo compiled and runs fine in .net 4.x
Problem is core 3.1
…Sent from my iPhone
On Jan 13, 2020, at 4:09 PM, Alexander Iacobciuc ***@***.***> wrote:
Hello, sorry, did not test it with .net core, try .net framework.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have an existing .net core 3.1 wpf project that I would like to add some video capture from usb attached video camera
…Sent from my iPhone
On Jan 13, 2020, at 4:09 PM, Alexander Iacobciuc ***@***.***> wrote:
Hello, sorry, did not test it with .net core, try .net framework.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Is the NuGet package too old. I am trying to use the NuGet package.
…Sent from my iPhone
On Jan 13, 2020, at 4:09 PM, Alexander Iacobciuc ***@***.***> wrote:
Hello, sorry, did not test it with .net core, try .net framework.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
1.0.3 is the latest version. |
Same error for .NET Framework 4.5.2 (WebEye.Stream.x64 not found). |
the dll is part of the nuget package. do you see it there? |
no, it is not present there for the mentioned framework version
Best regards, Alexey Barkalov
С уважением, Алексей Баркалов
…________________________________
От: Alexander Iacobciuc <[email protected]>
Отправлено: 5 июля 2020 г. 2:09
Кому: jacobbo/WebEye <[email protected]>
Копия: Alexey <[email protected]>; Comment <[email protected]>
Тема: Re: [jacobbo/WebEye] "FileNotFoundException on Assembly WebEye.Stream.x64/32"/ .net core 3.1 using demo Stream.GetLocalStreams (#73)
the dll is part of the nuget package. do you see it there?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#73 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA46JODXPAHRDPGFJDQEDUTRZ6ZEPANCNFSM4KGHPOZA>.
|
It is there for net40, which is compatible with net 4.5.2. Can you go to your output directory and check whether WebEye.Stream.x64.dll is in there? |
no, it was absent in program output directory, now I switched app to .net 4.6.1 and it becomes working
Best regards, Alexey Barkalov
С уважением, Алексей Баркалов
…________________________________
От: Alexander Iacobciuc <[email protected]>
Отправлено: 5 июля 2020 г. 14:26
Кому: jacobbo/WebEye <[email protected]>
Копия: Alexey <[email protected]>; Comment <[email protected]>
Тема: Re: [jacobbo/WebEye] "FileNotFoundException on Assembly WebEye.Stream.x64/32"/ .net core 3.1 using demo Stream.GetLocalStreams (#73)
It is there for net40, which is compatible with net 4.5.2. Can you go to your output directory and check whether WebEye.Stream.x64.dll is in there?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#73 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA46JOGLBODEETHWM3C57QTR2BPMTANCNFSM4KGHPOZA>.
|
Need to build Native project in 64 bit mode. And mostly you need Boost C++ library also 64 bit build |
Using the nuget version
WebEyeStreamControl.Wpf 1.0.3
WebEye.Stream 1.0.2
Hello, Copied the demo code into a working .net core 3.1 project. Instead of my original real main window, place this code into another new Main windows that gets shown by a button.
Click on button Add Local Stream
When the execution gets to the line from the demo:
public ObservableCollection LocalStreams { get; }
= new ObservableCollection(Stream.GetLocalStreams());
It throws a System.IO.FileNotFOundException.
Tried forcing project to 32bit and 64bit and get the error for either the 64bit or the 32 bit assembly
I tried some code from the github repository
var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
Environment.Is64BitProcess ? "WebEye.Stream.x64.dll" : "WebEye.Stream.Win32.dll");
var name = AssemblyName.GetAssemblyName(path);
return Assembly.Load(name).GetType("WebEye.ManagedWrapper");
And it seems to fail on the load, but the GetAssemblyName does succeed as the dll files are there
The text was updated successfully, but these errors were encountered: