https://bugs.winehq.org/show_bug.cgi?id=46559
--- Comment #14 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Roman Pišl from comment #13)
As I am working on the same thing I think that it is worth mentioning here: it is now also possible to create functional MSVC 2015 build environment using Visual Studio 2019 build tools installer, see https://bugs.winehq.org/show_bug.cgi?id=47626 It requires applying one patch on top of wine-staging 4.17, but then everything works smoothly.
Nice! With my script I have it working with the 2015 installer (haven't tried anything more recent) without any patches. Feel free to take a look at what I've done and see if it helps you at all. I've compiled a number of projects with it at this point and, for the most part, everything is pretty smooth.