Issues trying to build unreal engine from source (version 5.0.3

So After trying to delete a bunch of nuget and jetbrains folders I broke the visual studio installation. I restored a previous system image and I have visual studio 2022 installed again. When looking at the modify tab I have selected ‘.net desktop development’, ‘Desktop development with C++’ and ‘Game Development with C++’. I noticed I did not have the ‘unreal engine installer’ checked so I checked that as well. However, I’m still getting the same issue. I have no idea how this is happening. There is also an ‘ASP.NET and web development’ tab, should I select that as well? What I don’t understand is if this stuff is required why doesn’t the github page list these as dependencies?