After quite a while I did a private KiCad build (MSVC) again.
Compiled ok.
When running the installed Kicad, I get a “Failed to import the site module” error from Python.
I have no Python installation other than KiCad’s on the machine, the registry is clean as well.
The environment in launch.vs.json seems to be correct as per the documentation.
Well, I run kicad.exe (install) debug/release builds from MSVC. To do that you need to structure the /install-{blah}/bin folder with the python files copied over from vcpkg. (Look at the nightly install for a hint)
To run the non-install builds…I’m not sure where the correct path is but @craftyjon might know.