If you open the project into Unity and let it build, there should be no need to open VS as well.
This time I finally managed to get batch-mode working. No need to open Unity at all (well, it runs in the background, but it doesn't open the editor window and no interaction is needed).