that’s weird. maybe you need to install .net.
i’d recommend you to install it through visual studio installer, if that’s what you installed.
https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine?application_version=5.0
for 5.0 it does not specify which version. but if you follow the instructions on the web you’ll be fine.
5.5 requires .net 8.0 according to the site.
check the version of that page that corresponds with your engine version.
i’d avoid installing .net manually (outside of visual studio installer) if you have vsinstaller already.