Commit 17dd5099 authored by Martin Finkel's avatar Martin Finkel

Clarify error message in case the native call for instanciation returns 0...

Clarify error message in case the native call for instanciation returns 0 (most likely because of missing libvlc)
parent a16be806
......@@ -19,7 +19,8 @@ namespace LibVLCSharp.Shared
Release = release;
var nativeRef = create();
if(nativeRef == IntPtr.Zero)
throw new VLCException();
throw new VLCException("Failed to perform instanciation on the native side. " +
"Make sure you installed the correct VideoLAN.LibVLC.[YourPlatform] package in your platform specific project");
NativeReference = nativeRef;
}
......
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