For anyone with a not recognized cl.exe file problem?

For anyone with a not recognized cl.exe file problem here is the easy solution,
Before opening VS code, you must first open the Developer Command Prompt for VS
And write a code
Notice that the VS code is running
Here you can run cl.exe
It is necessary to run the Developer Command Prompt for VS and write code
However, compiler cannot know the cl.exe file

2 Likes

Privacy & Terms