title: Reference to Microsoft.SharePoint.dll
body: <p>I have a server that Shrepoint installed on it.</p>
  <p>I want to test this code:</p>
  <p><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputility.getlocalizedstring%28v=office.14%29.aspx" rel="nofollow noreferrer">SPUtility.GetLocalizedString Method </a></p>
  <p>When I add reference to Microsoft.SharePoint.dll I can resolve <code>SPSite</code> and ... .The problem is When I want to build the project it does not recognize <code>using Microsoft.SharePoint</code> any more:</p>
  <p><img src="https://i.stack.imgur.com/HpKeM.png" alt="enter image description here" /></p>
  <p>and I get this error:</p>
  <blockquote>
  <p>Error 13  The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)</p>
  </blockquote>
  <p>where is the problem? I add reference to <code>Microsoft.SharePoint.dll</code> but in build time it does not works</p>