title: LibVlcSharp Mystery: Visual Studio deletes libvlc.dll files on Debug>Start Debugging
body: <p>I have an intermitted build issues related to LibVLCSharp and the bin\Debug outputs.</p>
  <p>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 :</p>
  <pre><code>LibVLCSharp.Shared.VLCException: 'Failed to load required native libraries. 
  Have you installed the latest LibVLC package from nuget for your target platform?
  </code></pre>
  <p>The only only files that get deleted are:</p>
  <ul>
  <li>libvlc.dll</li>
  <li>libvlc.lib</li>
  <li>libvlccore.dll</li>
  <li>libvlccore.lib</li>
  </ul>
  <p>It's an intermitted issues and seems to get resolved when I reboot.</p>
  <p>Under what conditions would files in the Solution output folder get purged at Debug Startup?</p>
  <pre><code>bin\Debug\net5.0-windows\libvlc\win-x64\ 
  </code></pre>
  <p>I can manually get around this by copying the files back, but I'm trying to understand why this is happening.</p>
  <p>There are no pre or post build steps in the Solution.</p>
  <p><a href="https://i.stack.imgur.com/IecaN.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IecaN.gif" alt="LibVlcSharp files getting deleted at Visual Studio Debug startup" /></a></p>