CSC : warning CS1668: Invalid search path 'C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib' specified in 'LIB environment variab le' -- 'The system cannot find the path specified. '
By Jeroen on Thursday 19 June 2008, 15:55 - Permalink
I got this compiler warning after installing the Visual Studio 2008 SDK. After digging into it, turns out that the path to 'C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib' gets added to the LIB environment variable in the VS2008 console. However, the installer did not seem to create that folder (or maybe I skipped an option in the installer, who knows?).
Anyway, just creating the 'lib' subfolder in the SDK installation dir makes the warning go away... I don't know what's supposed to be in that folder, but obviously anything relying on that would still be broken.

Comments
Jeroen, I just wanted to say thank you for this post. I was having the same problem and just creating the "lib" folder fixed it.
After creating this folder the warnings disappeared. Thank you.
Great solution. I created the folder and there where no more warnings. Simple and easy, thx!!
Wonderfulllllllll!!!! This is a great solution. Solve my problem with this explanation. Tks man! \o/
I create the folter and solve my problem too. Tks.
From São Paulo - Brasil
Thank you for this post! It's amazing - two years later I was able to get a solution for this problem from you site. Thank you!