libvlc dlls not found in NetCore sample on Windows 10
When I try to start the NetCore sample on Windows 10, I have the following error.
Unhandled Exception: LibVLCSharp.Shared.VLCException: Failed to load required native library libvlccore.dll
The problem comes from this file https://code.videolan.org/videolan/LibVLCSharp/blob/master/LibVLCSharp/Shared/Core.cs
typeof(LibVLC).Assembly.Location
returns the location of the dll in the nuget cache. In my case 'C:\Users\Sylvain.nuget\packages\libvlcsharp\0.3.0\lib\netstandard2.0\libvlc\win-x64' but in this libvlc folder, there is no win-x64 folder.
Note: in the build output folder, I also have a libvlc folder with the expected win-x64 folder.
I tried to revert the change made in commit 242eb630, and it works as expected. So it only happens if target framework is netcoreapp2.0