TeamCity: Unmet Requirements DotNetFramework4.[56]

549 Views Asked by At

We've just installed .NET Framework 4.7.1 on our build agents, however our projects are now showing as having no compatible build agents.

Each agent is showing:

Unmet requirements: Exists=>DotNetFramework4.[56](.[0-9]+)?_(x86|x64) exists

We've followed these instructions, however it didn't resolve the issue.

Does anyone know how to resolve this?

1

There are 1 best solutions below

0
On BEST ANSWER

The issue was caused by an xUnit build step, where there was a bug in the xUnit TeamCity plugin that incorrectly reported that build agents that only had .NET 4.7+ installed were not compatible with the project.

The fix was to simply update the xUnit TeamCity plugin which contains the bug fix, and the relevant projects started building successfully again.