Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 76
    • Issues 76
    • 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
  • VideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #242

Closed
Open
Created Oct 26, 2019 by john@John0King

Can you run this wpf sample with .net core 3?

is there anything I missed to do ?

Summary

I create my app to reference LibVLC.Wpf and VideoLAN.LibVLC.Windows, but it doesn't work, it can not find the libvlc.dll . libVlc will copey to bin/.netcore3.0/libvlc/win-x86 and bin/.netcore3.0/libvlc/win-x64
when i copy all the file and foldes that inside win-x64 to the bin/.netcore3.0/ folde and then it worked.

Minimal project and steps to reproduce

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <PublishTrimmed>true</PublishTrimmed>
    <UseWPF>true</UseWPF>
    <Product>白板助手</Product>
    <Authors>John0King</Authors>
  </PropertyGroup>


  <ItemGroup>
    <PackageReference Include="LibVLCSharp.WPF" Version="3.3.0" />
    <PackageReference Include="NLog" Version="4.6.7" />
    <PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.8.1" />
    <PackageReference Include="ZXing.Net" Version="0.16.5" />
  </ItemGroup>

</Project>

What is the current bug behavior?

play rtsp video with no problem.

What is the expected correct behavior?

can not find dll

Relevant logs and/or screenshots

I will provide later, if you need.

Environment

  • OS: windows 10
  • Version 1903
  • Device: laptop
  • LibVLC version and architecture : <PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.8.1" />
  • LibVLCSharp version 3.3.0
Edited Oct 26, 2019 by john
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