Cruise Control and Nant is are .net ports of the java Cruise Control ant utilities. They were popular before MS supported devops tools.
as you building 4.* projects, your build server / container needs the visual studio 2022 build tools installed as the project files refer to them.
https://aka.ms/vs/17/release/vs_BuildTools.exe
https://learn.microsoft.com/en-us/visualstudio/install/build-tools-container?view=vs-2022
you will probably want to replace Nant with a scripting language to create build scripts with as there are several steps to a build. we wrote our pipeline tools in node using the msbuild package, but you can use any scripting language.
unlike .net core, with 4.* projects you may need to run nuget manually to restore the packages. if you use the project style msbuild can restore, else you must use nuget.
you will want to use command msbuild to build a solution: