LC.exe not found after sp1 install
-
Monday, August 18, 2008 8:55 PMError 1 Task failed because "LC.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "LC.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5. 2) Install Visual Studio 2008. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task.
Why is it doing this and how do I fix it?
Answers
-
Thursday, August 21, 2008 3:47 AMModerator
As the error message suggested, please try the following:
1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.
2) Install Visual Studio 2008.
3) Manually set the above registry key to the correct location.
4) Pass the correct location into the "ToolPath" parameter of the task.
thanks.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked As Answer by Figo FeiModerator Tuesday, August 26, 2008 3:00 AM
All Replies
-
Thursday, August 21, 2008 3:47 AMModerator
As the error message suggested, please try the following:
1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.
2) Install Visual Studio 2008.
3) Manually set the above registry key to the correct location.
4) Pass the correct location into the "ToolPath" parameter of the task.
thanks.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked As Answer by Figo FeiModerator Tuesday, August 26, 2008 3:00 AM
-
Thursday, August 21, 2008 3:41 PMThat's fine and dandy and all and by jumping through those hoops I was able to get it working, however, there is clearly a bug in some installer because I installed like this: Vs.net 2008, Vs.net 2008 SP1 which should install everything.
However after install I got the error above on ANY COMPILE.
This should not happen in this scenario. -
Wednesday, September 03, 2008 12:23 PMTotally agree - have just loaded the SP1 for VS2008 and the f###ing thing crashes on EVERY single install - when not more than 30 minutes ago they were all fine. I am so totally over this ____...
Right how do we fix it - because if you then place the original DVD in the computer to repair VS2008 - it goes through the motions and EVEN RECREATES THE CORRECT SDK folder - BUT DOES NOT - (get this) DOES NOT reinstall LC.EXE, which the SP1 obviously trashed.
Where can we download this again as a quick fix?
-----------------------------------------------------------------------------
I've just been to the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5 download page and to my great surprise - it's over 1.3Gb of download. Are you kidding me? To fix this stuff up I have to spend another 3 hours of download???? Geez guys - downloads may be cheap in the US but here in the land of Oz they cost us and it's not all T1 speeds either... All we want is the app LC.EXE. Is that so hard?
- Edited by gandalf_greycloak Wednesday, September 03, 2008 12:31 PM Add clarity
-
Friday, November 21, 2008 3:10 AMI installed the Windows Server 2008 and .Net 3.5 Sdk but it did not fix the problem with Vs2008Sp1.
What I did that finally (apparently) has solved the problem is find a another copy of "Lc.exe" in another location. I searched the entire "Program Files" folder. I found three and put the most recent one into the folder specified in the Registry.
The three solutions that would not build now build.
Not an elegant solution and even a potentially risky one but it did work.
It is not clear why there is not a HotFix on this problem.
Hope this helps.
--John -
Tuesday, January 06, 2009 7:32 PMFigo, how do you Manually set the above registry key to the correct location because I am experiencing this too.
John Grove - TFD Group, Senior Software Engineer, EI Division, http://www.tfdg.com -
Tuesday, January 06, 2009 8:32 PM
ANYONE???
John Grove - TFD Group, Senior Software Engineer, EI Division, http://www.tfdg.com- Proposed As Answer by valgevali Friday, January 16, 2009 7:03 AM
-
Thursday, January 08, 2009 12:05 AMI figured it out. I had to uninstall and reinstall the SDK [twice mind you]. But that finally resolved it. Whew...........
John Grove - TFD Group, Senior Software Engineer, EI Division, http://www.tfdg.com -
Friday, January 16, 2009 7:06 AM
Instead of the registry value the error message is telling you create this one:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\.NETFramework\v3.5\InstallationFolder
The "v3.5" key was not there for me so I just threw an axe into the air and hit a bird :)
And make sure you DO NOT include the bin folder in the InstallationFolder value:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
in my case- Proposed As Answer by micahlsmith Tuesday, September 27, 2011 7:29 PM
-
Monday, March 30, 2009 2:02 PM
Most simple solution in my case was move outta projecl the "licenses.licx" (what the "goody" create it?).
And installing|reinstalling|uninstaling wasn't take any effect. :/- Proposed As Answer by BM84 Tuesday, April 07, 2009 4:56 PM
-
Thursday, January 27, 2011 2:09 PM
I faced the same problem in VS 2005 v2.0.
I noticed that the 'bin' folder containing 'lc.exe' file under 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin' was empty. I copied and pasted all files under 'bin' folder from other machine and pasted to my machine.
It just worked;)
-
Sunday, March 13, 2011 9:08 AM
Dear sir
It seems that when installing sp1 it removes the LC.exe , Just find it out at any other pc and copy it into the folder that included in the error message
it works fine with me and hope that it will work with you
- Proposed As Answer by getgkonline Wednesday, May 02, 2012 7:27 PM
- Unproposed As Answer by getgkonline Wednesday, May 02, 2012 7:27 PM
-
Wednesday, May 02, 2012 7:33 PM
Gkonline,
Don't resurrect old threads. Thread was started Monday, August 18, 2008 8:55 PM.
John Grove, Senior Software Engineer http://www.digitizedschematic.com/

