title: Problem adding assembly reference to WCF web.config
body: <p>I'm trying to host a WCF service in IIS so that I can access the net.tcp binding from a Silverlight app. I've been following steps from this tutorial:<br>
  <a href="http://msdn.microsoft.com/en-us/library/ms733766.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms733766.aspx</a><br>
  I can get a simple example type service to work but when I try a real project I run into the following:</p>
  
  <pre><code>Line 6:  using NUnit.Framework;
  CS0246: The type or namespace name 'NUnit' 
          could not be found (are you missing
          a using directive or an assembly reference?)
  </code></pre>
  
  <p>I know what you're thinking and yes it's true. I unit test.</p>
  
  <p>My directory structure looks like this:<br>
  root: service.svc and app_code\<br>
  app_code: project file, web.config, bin\ and lots of code in various directories<br>
  bin: debug folder<br>
  debug: nunit dlls and project binaries.</p>
  
  <p>I've tried adding the following to my web.config:</p>
  
  <pre><code>&lt;compilation&gt;
    &lt;assemblies&gt;
      &lt;add assembly="nunit.framework"/&gt;
    &lt;/assemblies&gt;
  &lt;/compilation&gt;
  </code></pre>
  
  <p>And I've played round with adding .dll and path names etc but they all result in:</p>
  
  <pre><code>Could not load file or assembly 
  'nunit.framework' or one of its dependencies.
  The system cannot find the file specified.
  </code></pre>
  
  <p>How do I make the magic happen?</p>
  
  <p>Tools: VSE2010, IIS7 Express, MS WebMatrix</p>
  
  <p><strong>EDIT:</strong>
  Changing the web.config file to:</p>
  
  <pre><code>&lt;add assembly="nunit.framework, Version=2.5.9.10348, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"/&gt;
  </code></pre>
  
  <p>As suggested by Steve is the answer =)</p>