I also attach some changes for the MSVC build stuff. I tested it and it builds fine AFAICT, but it doesn't install because Install.pm wants to install contrib modules from contrib/ (which seems reasonable) but my hack adds the src/test/modules/ as contrib modules also, so Install.pm goes bonkers. I'm not even sure *what* we're supposed to build -- there is no distinction in these programs as there is in the makefiles about what to install. So if some Windows developer can look into this, I'd appreciate it.
It would be good to be consistent on Windows with what is now done on other platforms: those modules should not be installed by default, but it would be good to make install.pm a bit smarter with for example an option "full", aka install server + client + test modules. Building them is worth it in any case as they can be used with modulescheck. My 2c.