I had the same issue. I tried several methods but did not work. In the end, i tried "Tools" menu -> "manage preview feature"
then check the option "use previous of the .Net SDK (require restart)"
After completing these steps, you would be able to use .NET 8 preview You can enjoy .NET 8 now ! 🙂