-1

So, I tried to upgrade my TFS 2015 to allow project with .NET 4.6.1.

I downloaded the Targeting Pack for .NET 4.6.1, ran it, restarted the server, ran my build configuration for the build agent by overwriting the old settings, and started my builds.

Now non of them will build :(

I think I miss setting a parameter somewhere. This is my agent, which is registered, but never requested (for some odd reason):

enter image description here

Am I missing something?

Rasmus Bækgaard
  • 737
  • 2
  • 11
  • 27

1 Answers1

0

According to your agent.version 1.95.3, seems you are using TFS2015 update3 which should definitely support .Net 4.6.1. And the system capabilities of your agent looks okay except the Number_OF_PROCESSOR. Your value is 1, but usually the default is 8. Did you manually change the value during the configure?

Recommend you follow below way to narrow down this issue:

  1. First check in that if the build server is available and enabled in TFS at https://YOURCOMPANYNAME:8080/tfs/_admin/_AgentQueue, and
    your build agent should be “Green”.
  2. Make sure the agent is in interactive mode.
  3. Try to change a domain account which is a member of the Build Agent Service Accounts group and belongs to "Agent Pool Service Account" role, to see whether the agent would work or not.
  4. Double check whether there are some Firewall interface block the
    build, try to disable all related settings.

If it's still not work, delete that agent and re-deploy a new one following the detail steps in this article. You can also go through below similar questions to check if there is some useful info :

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62