You can usee grub-mkrescue under the Windows Subsystem for Linux environment, and you can invoke it from the normal windows command line by:
Code:
ubuntu -c "grub-mkrescue /mnt/c/..."
This, of course, assumes you've set up WSL correctly, and that you've installed Ubuntu for WSL from the Windows Store.
This beauty of this is that you can now pass the command to Visual Studio to execute after build, allowing for seamless integration. You can also now execute arbitrary Linux commands from the Windows command prompt, again, streamlining workflow.
So, to use Grub with the Visual Studio Build System, just add a Post Build event to execute the grub-mkrescue.
However, on the off chance you decide that this is too complicated, well you can use the syslinux bootloader instead, however, this is highly discouraged.
I would personally recommend you use Visual Studio Code instead.
~ Kevin