c# – Visual Studio not getting uninstalled

I have 2 versions of Visual Studio downloaded – Professional 2022 and Community 2022. When I try to run my dot net server with Community edition, it fails and shows error –

The current .NET SDK does not support targeting .NET 8.0. Either target .NET 7.0 or lower, or use a newer version of the .NET SDK that supports 8.0.

The same code runs without any error in professional version.

When I try to uninstall the Community version, it opens up Visual Studio installer and shows an error message – Something went wrong.

How can I uninstall the Community version Visual Studio?

Read more here: Source link