Unreal no longer visual studio solution after merge.

Unreal not recognizing the visual studio solution after a sourcetree/bitbucket merge. I think I merged with a version of the project before the visual studio project was generated.

My visual studio solution is still there and opens up visual studio correctly with all the code. However, unreal engine no longer has the compile button. Under the file menu there’s “generate new visual studio project”, which doesn’t seem to do anything. I’ve tried deleting the solution file before generating a new visual studio project but doesn’t seem to do anything either.