VS 2017社区和Windows 7支持 [英] VS 2017 Community and Windows 7 support

查看:88
本文介绍了VS 2017社区和Windows 7支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找向初学者教授编程的工具。我想弄清楚VS 2017社区版是否值得花时间,以展示Windows应用程序开发的基础知识(hello world等)。

I am looking for tools to teach programming to beginners. I am trying to figure out if VS 2017 Community edition is worth bothering with, to demonstrate the basics of Windows application development (hello world, etc).

我是否应该花时间去尝试学习VS2017 IDE教给别人,或者我应该关注那些没有焊接到Windows 10的非Microsoft IDE?

Should I invest my time in trying to learn the VS2017 IDE to teach it to others, or should I look to non-Microsoft IDEs that are not welded at the hip to Windows 10?

我们是一个继续使用的学区Windows 7,并将继续这样做直到EOL for Windows 7.实际上没有机器运行Windows 10.但是当我查看各种功能的安装选项时,我没有看到任何用于
的SDK Windows 7.我只看到适用于Windows 8或10的SDK。

We are a school district that continues to use Windows 7, and will continue to do so right up to the EOL for Windows 7. Virtually no machine is running Windows 10. Yet when I look through the install options for various features, I don't see any SDKs for Windows 7. I only see SDKs for Windows 8 or 10.

例如,选择要安装的C ++(我不太可能将C ++用作初学者语言,而是作为安装示例选项)...我看到适用于Windows 10,Windows 8的SDK,奇怪的是XP,但不是Windows 7?

For example, selecting C++ to install (I am not likely to use C++ as a beginner language but as an example of the install options) ... I see SDKs for Windows 10, Windows 8, oddly XP is mentioned, but not Windows 7?

所以......是VS 2017社区对于使用Windows 7学习基本无用吗?  我是否应该使用较旧的免费版本的Visual Studio Express for Windows 7编程支持?

So...... is VS 2017 Community basically useless for learning with Windows 7?  Should I look to using an older free version of Visual Studio Express for Windows 7 programming support?

哦,我想我们可以使用Java和免费的Eclipse IDE或Lua使用ZeroBrane Studio IDE。

Oh well, I suppose we could make do with Java and the free Eclipse IDE or Lua with ZeroBrane Studio IDE.

推荐答案

欢迎来到MSDN论坛。

Welcome to MSDN forum.

>>我想图如果VS 2017社区版值得一试,请展示Windows应用程序开发的基础知识(hello world等)。

使用Visual Studio 2017,您可以仅使用所需的工作负载自定义Visual Studio安装。安装以下工作负载后,您可以开始Windows应用程序开发。

>>我们是一个继续使用Windows 7的学区,并将继续这样做直到EOL Windows 7.几乎没有机器运行Windows 10.

Visual Studio社区2017 (使用最新的Windows更新):Home Premium,Professional,Enterprise,Ultimate 。

Visual Studio community 2017 is supported on Windows 7 SP1 (with latest Windows Updates): Home Premium, Professional, Enterprise, Ultimate.

>>然而,当我查看各种功能的安装选项时,我不知道请参阅任何适用于Windows 7的SDK。我只看到适用于Windows 8或10的SDK。

要定位Windows 7或Windows Vista,请使用值
8.1 ,因为Windows SDK 8.1向后兼容这些平台。此外,您应该在targetver.h中为
_WIN32_WINNT 定义适当的值。对于Windows 7,那是0x0601。请参阅
修改WINVER和_WIN32_WINNT

To target Windows 7 or Windows Vista, use the value 8.1, since Windows SDK 8.1 is backward compatible to those platforms. In addition, you should define the appropriate value for _WIN32_WINNT in targetver.h. For Windows 7, that's 0x0601. See Modifying WINVER and _WIN32_WINNT.

参考:
https://docs.microsoft.com/en-us/cpp/ide/general-property-page-project

您还可以查看该主题:
https://social.msdn.microsoft.com/Forums/vstudio / en-US / e19634d8-f635-4ed0-b8d7-45b64ccbd6fa / windows-sdk-7-in-visual-studio-2017?forum = visualstudiogeneral

祝你好运,

Joyce


这篇关于VS 2017社区和Windows 7支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆