Remove the .NET runtime and SDK - .NET | Microsoft Learn
GitHub - openpeach/dotnetfx_cleanup_tool: This .NET Framework cleanup tool is designed to automatically perform a set of steps to remove selected versions of the .NET Framework from a computer.