question

SmithJefferyThomasJeff-3719 avatar image
0 Votes"
SmithJefferyThomasJeff-3719 asked ·

Build Failure in TFS 2013 / Cannot Find DLL / Runs Good Locally

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. Again, this is not a new instance of TFS or VS as the install has been in place for years with no problems. I have always been able to add projects to the solution and be able to build in TFS... until today. Most of what I am finding doing searches relates to someone with a new TFS instance, or something like that. In my case this set up has ran with no issues for years. Error Message - C:\Builds\1\MARCL Government Reporting\Development\src\DatabaseAccessMonitor\DBAccesMonitor_bll.vb (8): Type 'ESACR.GeneralMailer_bll' is not defined. Warning - C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "ESACR". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 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. Part of the log where you can see it cannot seem to find ESACR.dll... 3>PrepareForBuild: Creating directory "obj\Release\". ResolveAssemblyReferences: Primary reference "ESACR". 3>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 "ESACR". 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 "{HintPathFromItem}". Considered "..\ESACR\bin\Release\ESACR.dll", but it didn't exist. For SearchPath "{TargetFrameworkDirectory}". Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\ESACR.winmd", but it didn't exist. Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\ESACR.dll", but it didn't exist. Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\ESACR.exe", but it didn't exist. Any assistance with this will be greatly appreciated Sincerely, Jeff Smith

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at
https://developercommunity.visualstudio.com/spaces/21/index.html
https://developercommunity.visualstudio.com/spaces/22/index.html

--please don't forget to Accept as answer if the reply is helpful--




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.