TFS 2010 Build Service

Consider a TFS 2010 server with Build Service, Build Controller, and Build Agent running on the same system. Things work "most of the time", but sometimes I have to restart the "Build Service". A few questions:

  • What is a build service?

  • Do build agents help with anything but a build controller (like TFS)? I ask because I want to put agents on another network that does not have access to TFS, but a quick test shows that they are still looking for TFS, any ideas why?

  • My build service shows 3350 errors (!) In the last 24 hours. Looking at the event log, I see a lot of the controller or agent "Could not load file or assembly": /// C: \ Windows \ ServiceProfiles \ NetworkService \ AppData \ Local \ Temp \ BuildController \ 1 \ System.Core.dll "". Any ideas what the problem is? I can just feed him files, but I would like to know why he does not know where to find them.

Exact error from the event log:

The "Default Agent thakur" service had an exception: Exception message: Problem loading custom assemblies: Could not load file or assembly file: /// C: \ Windows \ ServiceProfiles \ NetworkService \ AppData \ Local \ Temp \ BuildAgent \ 1 \ System.Core.dll 'or one of its dependencies. The system cannot find the specified file. (type Exception) Trace stack exception:

The "Default Controller - thakur" service had an exception: Exception message: Problem loading custom assemblies: Could not load file or assembly file: /// C: \ Windows \ ServiceProfiles \ NetworkService \ AppData \ Local \ Temp \ BuildController \ 1 \ System.Core.dll 'or one of its dependencies. The system cannot find the specified file. (type Exception) Trace stack exception:

Nothing happens in the logs after "Exceptional stack trace:".

+3
source share
2 answers

Overview Understanding the Team Foundation system and answers to the first two questions.

+2
source

Does your Build Agent have .Net installed on it?

+1
source

Source: https://habr.com/ru/post/1770969/


All Articles