Team city (build runner requirement)

Jay picture Jay · Feb 27, 2013 · Viewed 19.7k times · Source

I have recently installed TeamCity for continuous integration and I am at a point before anything commited in SVN gets into queue in TeamCity.

Researching a bit, I found that I need an Agent to build. Now I have created an agent but I still get Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements. error when I try to build my project.

I went into my Agents page , my newly created agent is still under the incompatible agents list with Unmet requirements: DotNetFramework4.0_x86 exists (I think which means I need this DOtNetFramework installed on my server) and I can't delete this requirement so I suppose this needed to be added considering my server is Windows Server 2008 R2.

I have tried installing Microsoft .NET Framework 4 but that didn't help.

Can anyone please help in fixing this requirement error please.

Thanks in advance

Answer

RinoTom picture RinoTom · Mar 7, 2013

In your TeamCity Build Agents list select one of your build agent, open the tab 'Agent Parameters' and click subtab of 'Configuration Parameters'.

Check whether the following configurations are having same values of as below (with assumption that you have installed .NET 4.0 in drive C: in you TeamCity build agent):

DotNetFramework4.0_x86 - 4.0.30319
DotNetFramework4.0_x86_Path - C:\Windows\Microsoft.NET\Framework\v4.0.30319

If it is similar or same, then open the TeamCity Build Configuration you have setup and open the 'Settings' tab in that edit the 'Agent Requirements' section. In that please check whether you have conditions set for values of config parameters DotNetFramework4.0_x86 and DotNetFramework4.0_x86_Path and if it is present, ensure that those are matching with the values posted above.

Once these values are matching, then this compatibility issue will not pop up anymore.