问题描述
您好。我在Windows 7上使用VS 2012,我认为它已经包含Windows sdks 7和8 ..我不确定这是否正确。我注意到我没有应该与windows 7 sdk一起使用的samples文件夹,所以我最终管理(一个很长的
痛苦的过程)再次安装它。我刚刚意识到新的windows 7 sdk安装在x64目录中,而不是我的visual studio组件所在的x86目录。现在,当我尝试打开其中一个Windows 7 sdk示例时,
它告诉我vs需要对文件进行功能更改。这是因为它安装在错误的目录中还是因为样本是在早期版本的vs中编写的?我真的希望不再花3个小时重新安装它,因为我已经尝试
安装它已经两天了,现在想继续编程!
Hello. I am using VS 2012 on windows 7 which I think is meant to include windows sdks 7 and 8 already.. I'm not sure if that is correct. I noticed that I didn't have the samples folder that should be with windows 7 sdk so I eventually managed (a long and painful process) to install it again. I have just realised that the new windows 7 sdk installed in the x64 directory rather than the x86 directory where the rest of my visual studio components are located. Now when I try and open one of the windows 7 sdk samples, it tells me that vs needs to make functional changes to the files. Is this because its installed in the wrong directory or becuase the sample was written in an early version of vs? I really hope not to spend another 3 hours re installing it as iv been trying to install it for two days already and id like to get on with some programming now!
抱歉如果我的描述不清楚,我也是非常新的。我真的很感激任何人都可以提供帮助。谢谢。
Sorry if my description is unclearm, I am very new too all this. I would really appreciate any help anyone can give. Thank you.
推荐答案
您需要较旧的Windows SDK的主要原因是为了定位Windows XP。当您安装添加"v110_xp"的Visual Studio 2012 Update 1时平台工具集,
已包含 Windows 7.1 SDK的相关部分,因此您无需明确安装它。
The primary reason you need an older Windows SDK is in order to target Windows XP. When you install the Visual Studio 2012 Update 1 that adds the "v110_xp" Platform Toolset, itincludes the relevant parts of Windows 7.1 SDK already so you don't need to explicitly install it.
http://blogs.msdn.com/b/chuckw/ archive / 2012/11/26 / visual-studio-2012-update-1.aspx
否则安装旧版Windows SDK的唯一原因是工具。请注意,这些较旧的Windows SDK未与VS 2012集成。
Otherwise the only reason to install an older Windows SDK is for tools. Note that these older Windows SDKs do not integrate with VS 2012.
这篇关于Windows 7 SDK安装在错误的目录中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!