You should re install Visual Studio. Your VS must “match” your UE version. Follow this link: Setting Up Visual Studio for Unreal Engine | Unreal Engine Documentation
You should re install Visual Studio. Your VS must “match” your UE version. Follow this link: Setting Up Visual Studio for Unreal Engine | Unreal Engine Documentation