title: Error while compiling a library in C#
body: <p>I am trying to compile a class(sqlAccess) declared as public with few methods related to database connection in it. I am getting the following error ...</p>
  
  <pre><code>Error   1   Friend access was granted to 'SqlAccess, PublicKey=00c8', but the      output assembly is named 'SQLAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Try adding a reference to 'SqlAccess, PublicKey=00c8' or changing the output assembly name to match.    c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll  SQLAccess
  </code></pre>
  
  <p>What could be the reason? is there already a method of that name? I am new to programming so am unable to understand this clearly. Thank you.</p>