title: F# SAFE template: How to add library to the server?
body: <p>I am trying to learn to use the SAFE framework and have installed the <a href="https://safe-stack.github.io/docs/template-overview/" rel="nofollow noreferrer">SAFE template</a>.</p>
  
  <p>I want to add some code to the server which interacts with a MySql DB, but nothing I have tried seems to result in VS2019 recognizing a reference to the <a href="https://www.nuget.org/packages/MySql.Data/" rel="nofollow noreferrer">MySql.Data</a> library.</p>
  
  <p>I have tried both of </p>
  
  <pre><code>paket add MySql.Data -g Server
  paket add MySql.Data
  </code></pre>
  
  <p>each time followed by</p>
  
  <pre><code>fake build
  </code></pre>
  
  <p>However, in VS2019, <code>The namespace or module 'MySql' is not defined</code>.</p>
  
  <p>Incidentally, I also tried adding (to a separate instance of the template) the library via Nuget, and unsurprisingly it did not work.</p>
  
  <p>So how am I supposed to add a library to the server? I thought the server was just a plain old dotnet core app. Is it not?</p>
  
  <p>I should also mention that while I have dabbled with paket, I am not exactly a power user. So that might explain my problem.</p>