Visual Studio 2010 won't compile/create new projects
Posted
by
tuner
on Super User
See other posts from Super User
or by tuner
Published on 2011-10-05T08:17:47Z
Indexed on
2012/07/03
9:18 UTC
Read the original article
Hit count: 294
visual-studio-2010
|compile
My Visual Studio 2010 Professional with SP1 installed won't compile anymore. The shown error is:
TRACKER : error TRK0005: Failed to locate: "CL.exe".
The system cannot find the file specified.
Strangely it is also not possible anymore to create new projects - the wizard appears but just restarts when I press create.
As I found out the paths for Visual Studio are now built from settings in the registry. Namely
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio
.
Comparing a colleagues installation with mine revealed no different settings.
So this is how the Property Pages/Configuration Properties/VC++ Directories
look like:
Executable Directories: $(ExecutablePath)
Include Directories: $(IncludePath)
Reference Directories: $(ReferencePath)
Library Directories: $(LibraryPath)
Source Directories: $(SourcePath)
Exclude Directories: $(ExcludePath)
From the Visual Studio 2010 Command Prompt
, cl.exe
is found.
I can only guess that this behavior was caused by a reinstallation of Studio a couple of months ago (to a different folder). As we use an external build-script for our main project there is a good chance that it is broken since then.
Any hints?
© Super User or respective owner