Delete the following entry in Path global (system variables) and local (user variables): C:\Program Files (x86)\dotnet