Hello
you must be sure to download and install version 5.0.0
I too had installed version 5.0.12 and it was giving me the same error. Installing 5.0.0 everything worked.
Search on google "microsoft windows desktop app 5.0.0" and on the first link download version 5.0.0