Search code examples
.netteamcity.net-4.7

TeamCity: Unmet Requirements DotNetFramework4.[56]


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?


Solution

  • 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.