Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 78
    • Issues 78
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #69
Closed
Open
Issue created Dec 04, 2018 by texasdiaz@texasdiaz

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:

  1. The WPF sample doesn't include references to LibVLCSharp nor LibVLCSharp.WPF in the packages.

  2. 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 System.Windows.Forms and WindowsFormsIntegration.

  1. 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
Assignee
Assign to
Time tracking

VideoLAN code repository instance