This problem still happen in UE 4.13. I followed the advise to “Set as startup project”, and everything is resolved.
thank you very much for pointing this out!
Thanks i just had this problem when rebuilding solution files in Unreal 4.13.2
and here comes the first thank you of 2018
Lol happened to me too in 4.19
I’ve just ran into this issue despite having my project selected as startup. First time that’s ever happened and not sure why.
Man, so simple. Thank you so much.
for me it was set to Android some how!
Thats it, thanks
Hi, this post has already a solution, but those solutions didn’t apply to me. I will explain now how my situation was different from the one presented by OP , and then the solution.
When i clicked “generate solution files” for some reason the solution automatically generated only contained the UE4 , but not the actual project. ( On the right panel you could only see "solution ‘yourGame’ 1 of one , and only had the Engine folder.
To create the solution correctly, open the editor and click create a new cpp.
that forced a complete rebuild of the solution , and from there visual studio opened up correctly and i could go on to selecting the actual project as the startup one.
Hope this helps someone