title: Namespace 'Smo' not found, although the reference is added
body: <p>I have added Microsoft.SqlServer.Management.Smo.dll reference to my project, but it still gives me the error below. The referenced dll is in C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies path.</p>
  
  <p>Error   25  The type or namespace name 'Smo' does not exist in the namespace 'Microsoft.SqlServer.Management' (are you missing an assembly reference?)  </p>
  
  <p>All the classes that I use such as Restore, Serer class under the Smo namesapce also throws the error.</p>
  
  <p>Please advise.</p>