I had this error a few weeks ago, for me this solved it: Visual Studio and Unreal Engine 5 - #2 by Quetzalcodename - You need different .net version, 3.1 should be sufficient - mine also was throwing errors not being compatible with .net 6.0
I had this error a few weeks ago, for me this solved it: Visual Studio and Unreal Engine 5 - #2 by Quetzalcodename - You need different .net version, 3.1 should be sufficient - mine also was throwing errors not being compatible with .net 6.0