title: The version of ...\WinSCP.exe does not match version of this assembly when using WinSCP .NET assemly
body: <p>I'm using a library called <code>WinSCPnet.dll</code>. The code will only work if I set the <code>AssemblyFileVersion</code> to the same version as the <code>WinSCP.exe</code> where it is installed.</p>
  
  <p>I got this exception:</p>
  
  <blockquote>
    <p>The version of C:\Program Files (x86l\WinSCP\WinSCP.exe
        (5.15.1.0) does not match version of this assembly
        C:\Users\burkarty\source\repos\UAReport3\UAReport3\bin\Debug\UAReport3.exe (0.0.0.0).</p>
  </blockquote>
  
  <p>How can I run my code independent from the WinSCP version?</p>
  
  <p>I searched for a similar question but nothing worked for me.</p>