Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

error MSB6003: The specified task executable "cmd.exe" could not be run.- The specified path, file name, or both are too long

$
0
0

I am generating the vcproject from cmake. While building the generated project I am getting below error. 
This error used to come in past in my system, but went off after I re-generated through cmake, but this time it seems stay permanently .

The full error message is like this...

error MSB6003: The specified task executable "cmd.exe" could not be run. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Generated path for projects : C:\Development\projs\build-rel

Viewing all articles
Browse latest Browse all 2763


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>