title: How can I associate a project to an agent pool on TeamCity?
body: <p>For my automated tests I have a project added to TeamCity server and 2 Agent Pool, one is a Windows Server and the other one is a MAC. The default agent pool is WIN but I wanted to run my tests on the MAC server. To change the agent pool to MAC, I tried to add Agent Requirement by setting     <code>teamcity.agent.name</code> to the <code>MAC server</code> from the list but it is not added to list of compatible agents associated with the project, but added to compatible agents with this warning on top of it: <code>Following agents belong to the agent pools which are not associated with "Tests" project</code> where Tests is the name of my project. </p>
  
  <p>How can I associate it MAC agent to my project? </p>