Faruk Yazici
Faruk Yazici

Reputation: 93

TFS Agent Pool, No agent found in pool PublishPool which satisfies the specified demands: msbuild visualstudio Agent.Version -gtVersion 1.95.0

when i am try to build my project it gives me error that says

No agent found in pool PublishPool which satisfies the specified demands: msbuild visualstudio Agent.Version -gtVersion 2.115.0

my agent version is 2.136.1 to based on Capabilities section but i don't understand that why my project wants older version to build and i couldn't find how to update my project's demanding version to my agent version. Any idea will be appreciated.

Upvotes: 0

Views: 941

Answers (2)

Faruk Yazici
Faruk Yazici

Reputation: 93

the problem wasn't the version of my agent, i found out later that gtVersion means that greater than so there was no error there error was my agent hasn't msbuild and visualstudio. When i add them to demands section problem solved

Upvotes: 1

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31003

You need to install Visual Studio on your agent machine, and restart your agent service.

Upvotes: 1

Related Questions