title: Windows Form C# Application throws Could not load File or Assembly 'Mimekit' when run on different machine
body: <p>My mail-provider has made an update, which generated some problems using Dot.Net Mail in an older Windows Form C# solution. I found, that it is recommended to use MailKit/Mimekit instead of Dot.Net mail. So I decided also to upgrade to newer Visual Studio 2019, where I can use NuGet packages.</p>
  <p>I installed Visual Studio 2019, installed MailKit using Manage NuGet Packages (Browse, Right Click, Install) and made a simple test-program in C# (Windows Form Solution) where I send an Email with some attachments.</p>
  <p>The solution works 100 % - as long as I execute the solution (both debug and Release builds on the PC where the program is build.</p>
  <p><strong>When I copy the Release version (exe-file) to a similar PC (Win 10, DotNet 4.8) I get the following error: <em>Could not load File or Assembly 'Mimekit, Version 2.10.0.0, Culture=neutral, PublicKey Token=bede1c8a46c66814' or one of its dependencies.</em></strong>
  The same happens if I transfer the exe-file to a Win 7 - PC.</p>
  <p>I have</p>
  <ul>
  <li>Checked that both MailKit an MimeKit is listed in the Solutions References</li>
  <li>Tried to uninstall and reinstall both MailKit and MimeKit (version 2.10.0)</li>
  <li>Tried to upgrade MimeKit to version 2.10.1</li>
  </ul>
  <p>It is my first solution in Visual Studio 2019 - as well as my first use of a NuGet Package.
  I expected that the built Release Version could be transferred to another PC as a file copy, but something seems to be missing.</p>
  <p>I have no clue what to do !?</p>