WPF Samples need maintenance
I tried using the WPF sample project as a starting point for a repro project, but I'm having a heck of a time getting it to build (Visual Studio 2017). Some things I had to do:
The WPF sample doesn't include references to
LibVLCSharp.WPFin the packages.
When I attempt to build, the first error I got was:
Failed to add reference. The package 'LibVLCSharp.WPF' tried to add a framework reference to 'System.Windows.Forms' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
I had to add the references manually to
- I also had to remove a line from the csproj in order to get it to compile - I had to remove the check for the
'..\..\packages\VideoLAN.LibVLC.Windows.3.0.4\build\VideoLAN.LibVLC.Windows.targets'path as it did not exist on my system (the other one did with the packages).
Once I did these three steps, I was able to run the example.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information