Visual studio compiler wrong path (how to change?)

What exactly do you mean by “does not work” / “nothing works” ? What error are you seeing? even if it’s almost the same as mine, write it again. The path is probably different, or something is.
Also, you wrote all registry keys are correct. What is “correct” ? Either post an image of all your keys / list them. The relevant ones, the ones in the directory, that is. (e.g. key “15.0”)

p.s.
Try to explain what things are rather than what they are not, specially when describing problems. “not working” has no meaning, and it really makes it difficult for people to help you.