I have an intermitted build issues related to LibVLCSharp and the bin\Debug outputs.
When I build a Solution containing a LibVLCSharp Project, I can see the libvlc.dll in the final win-x64 output folder, but when I start debugging, the following files get deleted, and the application fails with :
LibVLCSharp.Shared.VLCException: 'Failed to load required native libraries.
Have you installed the latest LibVLC package from nuget for your target platform?
The only only files that get deleted are:
- libvlc.dll
- libvlc.lib
- libvlccore.dll
- libvlccore.lib
It's an intermitted issues and seems to get resolved when I reboot.
Under what conditions would files in the Solution output folder get purged at Debug Startup?
bin\Debug\net5.0-windows\libvlc\win-x64\
I can manually get around this by copying the files back, but I'm trying to understand why this is happening.
There are no pre or post build steps in the Solution.