Build of 2024.9 fails

The following error shows up when trying to build the server configuration in the origam 2024.9 branch

 Error  : Your project does not reference ".NETFramework,Version=v4.7.2" framework. Add a reference to ".NETFramework,Version=v4.7.2" in the "TargetFrameworks" property of your project file and then re-run NuGet restore.

It is not clear why the problem started happening now but upgrading the project does solve it.