...
Secondly, check that the build configurations you expect to be suitable with your IDEA project has either server-side VCS checkout mode|VCS Checkout Mode#ServerCheckout] or agent-side checkout and NOT manual VCS checkout mode (it is not possible to apply a personal patch for a build with the manual checkout mode because TeamCity must apply that patch after the VCS checkout is done, but it does not know or manage the time when it is performed).
...