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