Commit ee6979d4 authored by Martin Finkel's avatar Martin Finkel

Tests: Fix libvlc loading

parent ca477540
......@@ -156,8 +156,10 @@ namespace LibVLCSharp.Shared
var libvlcPath1 = LibVLCPath(libvlcDirPath1);
paths.Add((libvlccorePath1, libvlcPath1));
var libvlcDirPath2 = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location),
var assemblyLocation = Assembly.GetEntryAssembly()?.Location ?? Assembly.GetExecutingAssembly()?.Location;
var libvlcDirPath2 = Path.Combine(Path.GetDirectoryName(assemblyLocation),
Constants.LibrariesRepositoryFolderName, arch);
string libvlccorePath2 = string.Empty;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment