title: How do I configure to use System.Web.UI
body: <p>I'm hoping to use something like the code put forward by MartinHN in the following post to create HTML formatted SMTP mail items: <a href="https://stackoverflow.com/questions/886728/generating-html-email-body-in-c-sharp">SO POST</a></p>
  
  <p>Having problems creating a reference to the correct assemblies so that I can use the namespace "System.Web.UI.WebControls". the reference I'm trying to add is "System.Web" as suggested in <a href="http://www.justskins.com/forums/add-reference-for-system-111523.html" rel="nofollow noreferrer">HERE</a></p>
  
  <p>In the .NET section of my vis stud project's references I do not have System.Web:</p>
  
  <p><img src="https://i.stack.imgur.com/e36Cx.png" alt="enter image description here"></p>
  
  <p>If I browse my C-Drive and add a System.Web.dll file then I get the following:</p>
  
  <p><img src="https://i.stack.imgur.com/tBOGg.png" alt="enter image description here"></p>
  
  <p>How do I configure this project so that I'm able to use MailDefinition ?</p>