While building Orthanc from Visual Studio 2022 getting errors in ProtoBufCompiler project

While building Orthanc from Visual Studio 2022 getting errors in ProtoBufCompiler project. such as:

Any one could help in this? would be highly appreciable.

Hello,

Sorry, but the Orthanc core developers cannot provide support for each and every version of the Microsoft Visual Studio compilers. The CIS (continuous integration server) of Orthanc project uses Microsoft Visual Studio 2015 to build its 64bits binaries, and Microsoft Visual Studio 2008 to build its 32bits binaries (this old version is necessary to keep compatibility with Microsoft Windows XP). You’ll have to figure out the solution for Visual Studio 2022 by yourself.

Regards,
Sébastien-