-
Notifications
You must be signed in to change notification settings - Fork 2k
Could not load type 'SharpDX.Bool' from assembly 'SharpDX, Version=3.1.1.0 #448
Comments
There is a SharpDX.Bool in 3.4.0 |
This is very strange.
From
I will try to reinstall all Accord libs. |
I updated SharpDX assemblies in original Audio Recorder sample and in my case I have same exception at attempt to run app:
Could you please to install the latest libraries SharpDX and try to run Audio Recorder sample app? |
Hi, So don't use different version on each framework. I hope you catch-up that now, if you want .Net4.6 then use in both. Good Luck! |
Thanks. For your help. |
Go to your project reference and see where the path to the dll is.
Check that folder if the dll is there. You will get that error if the dll
file is not where it thinks it is.
You may need to set reference path in your project properties or remove/add
the SharpDX reference to fix.
…On Thu, Feb 23, 2017 at 4:11 AM, przemo1983 ***@***.***> wrote:
Could you please give me any clue how to resolve this?
If there is an issue with SharpDX library itself I will create issue in
that project.
When I reverted SharpDX and SharpDX.DirectSound versions to 2.6 an Audio
Recorder sample started to work again (this sample uses 3.4.1-alpha Accord
libraries).
Please see attached screenshots.
There is no SharpDX.Bool for 3.1.1.
[image: sharpdx_3 1 1]
<https://cloud.githubusercontent.com/assets/2435251/23252238/705da6ee-f9b0-11e6-8daf-9186dc28414a.png>
There is a SharpDx.Bool for SharpDX 2.6.
[image: sharpdx_2 6 0]
<https://cloud.githubusercontent.com/assets/2435251/23252225/5d997182-f9b0-11e6-9483-b2a65b98915c.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#448 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB1x25iaPngDnXN0AoxYpyCTZL0pkRMhks5rfU1YgaJpZM4MH7bc>
.
|
That's right too, nice to know Accord.Net users help each other. |
Hi @przemo1983, After some testing, I've found that the issue you are experiencing happens because the framework was so far targeting SharpDX 2.6.x. Between 2.x and their new 3.x there were some significant changes, including the removal of the SharpDX.Bool struct that has popped up in your error message. The framework was targeting 2.6 because this was the last version of SharpDX that was still compatible with the CLR 2 (and therefore C# 3.5). Since I would still like the framework to support 3.5, I hadn't updated SharpDX yet. However, after some testing, I realized that it is possible to link to different versions of SharpDX using some conditions in the .csproj project definition. So the next release will target SharpDX version 3.1.1 for the net40, net45 and net46 releases and SharpDX 2.6.3 for net35. Sorry for the late response. So in short, if you would like to use the framework right now, you might have to revert back to an older version of SharpDX from the 2.6 branch. Regards, |
…rsion=3.1.1.0 Updating SharpDX to 3.1.1 for CLR 4.0 builds, and 2.6.3 for CLR 2.0 builds.
Fixed in 3.5.0. |
There is no SharpDX.Bool in SharpDX, Version=3.1.1.0.
Accord.DirectShow version 3.4.0.
Is this issue in Accord lib or SharpDX?
The text was updated successfully, but these errors were encountered: