Currently we are generating a start batch file that configures Visual Studio depending on whether Release or Debug is build.
Florian was so kind as to contribute the attached patch which they use to automatically configure Visual Studio accordingly.
We should adapt our build system as to no longer need the batch files. We might still consider keeping them, but the configured project would be much more convenient.