ASPNETCOMPILER : warning CS1668: Invalid search path 'C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib' specified in 'LIB environment variable' Errors in MSBuild script

Tags: Development, ASP.NET

ASPNETCOMPILER : warning CS1668: Invalid search path 'C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified.

if you encounter this on a machine, especially one being used a build machine where you do not have Visual studio installed. Check that there is a Lib folder setup in 'C:\Program Files\Microsoft SDKs\Windows\v7.0\’

If you have done a custom install of the windows sdk then I think the folder called Lib gets missed but is still required.

Just add a Folder called ‘Lib’ and all should be good.

No Comments