I have recently upgraded my dotnet version to dotnet 6 preview to tryout MAUI. How can I downgrade it again to dotnet 5?
First: uninstall dotnet6(.Net6) from your Visual Studio:
Second: go to "control panel" -> "uninstall a program" -> LF dotnet6(.Net6) package and uninstall it
Third: download dotnet5 from Microsoft web site : https://dotnet.microsoft.com/en-us/download/dotnet/5.0 then complete the process of installation
Finally: go to your cmd and type dotnet --version
and you will find that it becomes: 5.0.405