Sorry when I say VS I just wanted to check if you can compile the project from visual studio or whether you are just opening the .uproject
Also if you are running it from visual studio, try a clean and change it from DebugGame Editor to Development Editor