factorize vstudio from windows8 entry point

this makes it easy to add a new vstudio config