title: Team Foundation Server 2013 Build Failure / Builds Locally But Not on Server
body: <p>I have been using TFS 2013 for years. I have made no changes to the server. I recently added a project to my solution. (VS-2103 update five) As I updated the project I ran local builds with no problem. Tested the code in Dev and everything worked great. However, when I went to run a build in TFS I continue to receive a build failure. If I remove the project from the solution I can run a build in TFS with no problem. I have deleted / recreated the project, renamed it, recreated a build definition, rebooted both ends. It is getting hung up when I reference out to a DLL that is part of the solution. I pull out that reference and I can build via TFS no problem. Also note that the other 30 or so projects in the solution reference the same DLL and the same classes with no issue. Just this one project I added. But it builds locally???</p>
  <p>This is for a very legacy app that runs in a datacenter on its own server. TFS runs on its own server. No cloud involved. I am pretty much a one man show nearly end-to-end. All of the source code is on my workstation. Changes are passed up to the TFS server where the final builds are created. I installed TFS year ago... It has ran great for years until...</p>
  <p>Hoping someone can give me a clue...</p>
  <p>Some information from the Build Failure and the Log... cannot find the DLL that is part of the solution.</p>
  <p>Error Message - C:\Builds\1\MARCL Government Reporting\Development\src\DatabaseAccessMonitor\DBAccesMonitor_bll.vb (8): Type 'ESACR.GeneralMailer_bll' is not defined.</p>
  <p>Warning - C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly &quot;ESACR&quot;. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.</p>
  <p>Warning - C:\Builds\1\MARCL Government Reporting\Development\src\DatabaseAccessMonitor\DBAccesMonitor_bll.vb (5): Namespace or type specified in the Imports 'ESACR.DataSetFilter' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.</p>
  <p>Part of the log where you can see it cannot seem to find the ESACR.dll...</p>
  <p>3&gt;PrepareForBuild: Creating directory &quot;obj\Release&quot;. ResolveAssemblyReferences: Primary reference &quot;ESACR&quot;. 3&gt;C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly &quot;ESACR&quot;. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Builds\1\MARCL Government Reporting\Development\src\DatabaseAccessMonitor\DatabaseAccessMonitor.vbproj] For SearchPath &quot;{HintPathFromItem}&quot;. Considered &quot;..\ESACR\bin\Release\ESACR.dll&quot;, but it didn't exist. For SearchPath &quot;{TargetFrameworkDirectory}&quot;. Considered &quot;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\ESACR.winmd&quot;, but it didn't exist. Considered &quot;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\ESACR.dll&quot;, but it didn't exist. Considered &quot;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\ESACR.exe&quot;, but it didn't exist.</p>