4.18 "Loading Visual Studio..." hangs in editor

I’ve been struggling for 2 days to get 4.18.2 to launch a script in visual studio from the editor properly as it always has in other versions of the engine. When I launch from the editor in 4.18.2, “Loading Visual Studio…” stays on the editors screen, it hangs there for a couple minutes. It also takes a long time to launch a script from the editor, a minute or two on a fast computer. When I go to “Build” in visual studio after it finally opens this way, I can only see one option: “Run code analysis on solution”. What am I missing?