After right-clicking on the .uproject file and selecting "Generate Visual Studio project files" we need to recompile everything. This makes it very slow to work with since you might generate projects multiple times per day.
- Compile DebugGameEditor|Win64 and launch (to ensure that everything is compiled)
- Close Visual Studio
- Open VS again and launch. Notice that everything is compiled and it launches instantly
- Close Visual Studio
- Right-click .uproject file and select "Generate Visual Studio project files"
- Open visual studio and launch. Notice that it will now compile everything
I noticed that in step 5 all the "Definition.*.h" files would be generated with "#define WITH_CPP_COROUTINES 0", but after we compiled through Visual Studio it would be set to "#define WITH_CPP_COROUTINES 1" (since we want Coroutines).
Our fix for this was to add "bEnableCppCoroutinesForEvaluation = true;" into UnrealEditor.Target.cs and now they generate with 1 instead of 0.
It would be good to update the setup guide with this information and if you know a better way of doing it to include that instead.