对于安装过vs2008的朋友,可能都会遇到: Your version of the Windows SDK is earlier than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600.,开始的时候我也在网上找解决方案,但是问题一直没有解决。后来下载了:
Windows SDK for Windows Server 2008 and .NET Framework 3.5安装在VS2008安装的文件夹里,问题就解决了。大家可以试试!下载链接如下:
http://www.microsoft.com/en-us/download/details.aspx?id=24826