Changing C:Program Files (x86)dotnet from System Environment Variable Path to C:Program Filesdotnet fixed the problem for me.