Follow these instructions to build Harbour for 32 and 64 bits using Visual Studio Community 2022:
1. git clone https://github.com/harbour/core harbour
2. Use the batch files in this post:
viewtopic.php?p=249800&sid=bd582989579ec7080111455547f493b9#p249800