Article ID: 969866 - View products that this article applies to.
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
Install Visual Studio 2008 Standard with only Visual C++ and try to build any kind of C++ project.
When you try to build any kind of C++ project you will receive the following error message: Project : error PRJ0003 : Error spawning 'cl.exe'
The root cause of this issue is that cl.exe file is only included in the feature of C# (C Sharp) in vs_std sku. That means it will not get installed by only installing Visual C++.
If you search for cl.exe on the machine you will find the following occurrences:
1. "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\amd64\cl.exe"
2. "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_amd64\cl.exe"
The folder "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" does not include cl.exe.
Install Visual Studio 2008 Standard with only C++
Launch VS 2008 IDE
Create any kind of new C++ project
Build the project
You will receive the following error message:Project : error PRJ0003 : Error spawning 'cl.exe'
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Article ID: 969866 - Last Review: April 3, 2009 - Revision: 1.0