title: Could not load file or assembly error on adding custom libraries in SSRS reports
body: <p>I have created a custom library(CodeLibrary) which internally references the dlls Microsoft.TeamFoundation.Client and Microsoft.TeamFoundation.WorkItemTracking.Client.</p>
  
  <p>I added this custom Dll codelibrary.dll to my SSRS report. and the expression of one of the field as </p>
  
  <pre><code>=codelibrary.codefunction.GetValue(1000)  
  </code></pre>
  
  <p>codefunction is the class and GetValue is the method.</p>
  
  <p>When I preview the report, I get the error "Error while loading code module: 'CodeLibrary,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null'. Could not load file or assembly 'CodeLibrary,Version1.0.0.0, Culture=neutral,PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."</p>
  
  <p>I am using VS2013, I have placed the custom library DLL in the path
  C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies</p>
  
  <p>I have tested the custom library with a WPF application and it works fine.</p>
  
  <p>I am not able to figure out what is causing this error.</p>