Quantcast
Channel: The specified task executable "cl.exe" could not be run.
Viewing all articles
Browse latest Browse all 10

The specified task executable "cl.exe" could not be run.

$
0
0

Hi Dunken,

 

Thanks for your post.

I think it is a known issue and I find a connect page:

http://connect.microsoft.com/VisualStudio/feedback/details/106634/mt-exe-fails-sometimes-with-code-31-in-release-builds#details

Here are several additional workarounds you can try:

1. Change "Regional and Language Options" in control panel (Advance tab -> Language for non-Unicode programs) to English(US)

2. Under properties >> C/C++ >>Code Generation >> RunTime Library

Change Multi-threaded (/MT) (Release Build) and Multi-threaded Debug (/MTd) (Debug Build)

to Multi-threaded DLL (/MD) (Release build) and Multi-threaded Debug DLL (/MDd) (Debug build)

Hope my reply helps.

 

Best Regards,

Ziwei Chen

 

 


Ziwei Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Viewing all articles
Browse latest Browse all 10

Trending Articles



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