title: Accessing ASP.Net Membership in a Console Application?
body: <p>I'm writing a simple utility console app to add new users, etc, to an SQL Server Membership Store.</p>
  
  <p>The issue I'm running into is that I can't seem to add a reference to System.Web, so I can't access the Membership stuff.  How does one go about doing this?</p>
  
  <p>NOTE: I've found a few questions on stackoverflow that seem similar, but the answers revolved around MVC, and after attempting the suggested answers, the problem still remains.</p>
  
  <p>Edit:
  Oded helped lead me to the answer.  By default it was filtering by the "client profile", which doesn't have System.Web available.  I had to retarget to .Net 4 instead of .Net 4 client profile as described in the following MSDN article.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/bb398202.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb398202.aspx</a></p>