title: Type or namespace name 'MySQL' could not be found VS2017
body: <p>Currently trying to create a connection to a MySql Database. When I added</p>
  
  <p><code>
  using MySql.Data;
  using MySql.Data.MySqlClient;</code></p>
  
  <p>to my class I recieved the typical "The type or namespace name ... could not be found". A little searching made me realize I was missing the MySql.Data.dll.</p>
  
  <p>I used Packet Manager console to install MySql.Data:</p>
  
  <p><code>PM&gt; Install-Package MySql.Data</code></p>
  
  <p>I verified that it was installed via Tools > NuGet Package Manager > Manage NuGet Packages for Solutions, but I was still getting the build error.</p>
  
  <p>At this point I figured, since the PM downloaded the .dll I'll just manually reference it via References > Add Reference > Browse > Select MySql.Data.dll.</p>
  
  <p>Great!! The red squiggly went away on my <code>using</code> and intellisense started working for classes inside the MySql.Data namespace:</p>
  
  <p><a href="https://i.stack.imgur.com/Wooge.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Wooge.png" alt="enter image description here"></a></p>
  
  <p>Fast forward 10 mins, I finish writing my test class and hit Build and error comes back: </p>
  
  <p><a href="https://i.stack.imgur.com/jIKjz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jIKjz.png" alt="enter image description here"></a></p>
  
  <p>So in summary, using PM to install MySql.Data got me no where. Manually adding the reference of MySql.Data.dll got my intellisense to recognize the namespace and classes, but when it comes to building I still get the error.</p>
  
  <p>Pretty stumped. Anyone seen this?</p>