I also faced this issue on Windows OS, this is worked for me
Download the build tools from download the visual-cpp-build-tools Open the installer, under Workloads select "Desktop development with C++" then click install. Restart the computer.