I spent considerable hours on this, or a very similar problem, and posted a solution that works in my environment at the Developer Community link already mentioned above: https://developercommunity.visualstudio.com/t/Error-trying-to-pair-Visual-Studio-1712/10806194?space=62&ftype=problem&preview2=true&q=fma
In my case it was a bit more than just .NET 8 runtime but specific workload versions on the Windows side that made it repeatedly stable.
Hope this helps. It can be a very time-consuming troubleshooting journey.