title: BizTalk 2010 - Could not find file 'Microsoft.BizTalk.TOM.resources
body: <p>I have a VS2010 TFS Build server configured with a build definition set for continuous configuration. </p>
  
  <p>For my BizTalk 2010 solution I have 200+ tests. These tests all run ok on my dev box but on the build server, for the tests dealing with flat-files, I get the error "Unable to find Microsoft.BizTalk.Tom.resources". My guess is that this is a resource file contained within the assembly <strong>Microsoft.BizTalk.TOM.dll</strong> Although I've used reflector and can't see the resources.</p>
  
  <p>It turns out Microsoft.BizTalk.TOM.dll is a .Net 2 dll that is installed with BizTalk into the following folder:</p>
  
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies
  </code></pre>
  
  <p>I've checked the build server and confirmed that this assembly is present, in the above folder.</p>
  
  <p>I have tried the following, based on 3 different blog postings around the same issue:</p>
  
  <ol>
  <li>Included a reference to dll and set copylocal to true</li>
  <li>Added the assembly to the .Net 2 GAC</li>
  <li>Added the assembly to the "Additional files to deploy" list from the Test Settings dialog / Deployment tab</li>
  <li>Added the assembly to the "Folders to use when tests are run" list from the Test Settings dialog / Unit Test tab</li>
  </ol>
  
  <p>After the tests fail I check the \TestResults\Out folder. I can see that the Microsoft.BizTalk.TOM.dll has been copied here.</p>
  
  <p>When I check the equivalent folder on the dev server I don't see any files that aren't present on the build server.</p>
  
  <p>Any ideas what I can try next please?</p>