<i id='D6eJX'><tr id='D6eJX'><dt id='D6eJX'><q id='D6eJX'><span id='D6eJX'><b id='D6eJX'><form id='D6eJX'><ins id='D6eJX'></ins><ul id='D6eJX'></ul><sub id='D6eJX'></sub></form><legend id='D6eJX'></legend><bdo id='D6eJX'><pre id='D6eJX'><center id='D6eJX'></center></pre></bdo></b><th id='D6eJX'></th></span></q></dt></tr></i><div id='D6eJX'><tfoot id='D6eJX'></tfoot><dl id='D6eJX'><fieldset id='D6eJX'></fieldset></dl></div>

    1. <legend id='D6eJX'><style id='D6eJX'><dir id='D6eJX'><q id='D6eJX'></q></dir></style></legend>

      <small id='D6eJX'></small><noframes id='D6eJX'>

      • <bdo id='D6eJX'></bdo><ul id='D6eJX'></ul>
    2. <tfoot id='D6eJX'></tfoot>

      Visual Studio 2015 将目标平台更改为 windows 7

      Visual Studio 2015 Change target platform to windows 7(Visual Studio 2015 将目标平台更改为 windows 7)
        <tbody id='SF2Uv'></tbody>
        <bdo id='SF2Uv'></bdo><ul id='SF2Uv'></ul>
      • <legend id='SF2Uv'><style id='SF2Uv'><dir id='SF2Uv'><q id='SF2Uv'></q></dir></style></legend>
            <tfoot id='SF2Uv'></tfoot>
          • <i id='SF2Uv'><tr id='SF2Uv'><dt id='SF2Uv'><q id='SF2Uv'><span id='SF2Uv'><b id='SF2Uv'><form id='SF2Uv'><ins id='SF2Uv'></ins><ul id='SF2Uv'></ul><sub id='SF2Uv'></sub></form><legend id='SF2Uv'></legend><bdo id='SF2Uv'><pre id='SF2Uv'><center id='SF2Uv'></center></pre></bdo></b><th id='SF2Uv'></th></span></q></dt></tr></i><div id='SF2Uv'><tfoot id='SF2Uv'></tfoot><dl id='SF2Uv'><fieldset id='SF2Uv'></fieldset></dl></div>

              <small id='SF2Uv'></small><noframes id='SF2Uv'>

                本文介绍了Visual Studio 2015 将目标平台更改为 windows 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                如何将目标平台更改为 Windows 7?我只能选择 Windows 8.1,因此我的项目不能在 Windows 7 上运行.我曾经在使用 Visual Studio 2013 的旧 Windows 7 PC 上编译的同一个项目.当然它在那里工作.

                How can I change the target platform to Windows 7? All I can chose is Windows 8.1 and therefore my project does not run on Windows 7. The same project I used to compile on my old Windows 7 PC with Visual Studio 2013. And of course it worked there.

                我已经尝试安装 Windows 7 SDK,但遗憾的是这不起作用,因为它需要 Net Framework 4.0,我无法再安装.(Windows 10 包括 4.6?) - https://msdn.microsoft.com/en-我们/en-en/library/ff770576.aspx

                I already tried to install Windows 7 SDK but sadly this does not work since it requites Net Framework 4.0 which I can not install anymore. (Windows 10 includes 4.6?) - https://msdn.microsoft.com/en-us/en-en/library/ff770576.aspx

                谢谢.

                推荐答案

                来自 MSDN:

                目标平台版本

                [...]

                要面向 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.

                这篇关于Visual Studio 2015 将目标平台更改为 windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Constructor initialization Vs assignment(构造函数初始化 Vs 赋值)
                Is a `=default` move constructor equivalent to a member-wise move constructor?(`=default` 移动构造函数是否等同于成员移动构造函数?)
                Has the new C++11 member initialization feature at declaration made initialization lists obsolete?(声明时新的 C++11 成员初始化功能是否使初始化列表过时了?)
                Order of constructor call in virtual inheritance(虚继承中构造函数调用的顺序)
                How to use sfinae for selecting constructors?(如何使用 sfinae 选择构造函数?)
                Initializing a union with a non-trivial constructor(使用非平凡的构造函数初始化联合)

                      <tfoot id='aB4wm'></tfoot>

                        <tbody id='aB4wm'></tbody>
                    • <i id='aB4wm'><tr id='aB4wm'><dt id='aB4wm'><q id='aB4wm'><span id='aB4wm'><b id='aB4wm'><form id='aB4wm'><ins id='aB4wm'></ins><ul id='aB4wm'></ul><sub id='aB4wm'></sub></form><legend id='aB4wm'></legend><bdo id='aB4wm'><pre id='aB4wm'><center id='aB4wm'></center></pre></bdo></b><th id='aB4wm'></th></span></q></dt></tr></i><div id='aB4wm'><tfoot id='aB4wm'></tfoot><dl id='aB4wm'><fieldset id='aB4wm'></fieldset></dl></div>
                    • <small id='aB4wm'></small><noframes id='aB4wm'>

                        <bdo id='aB4wm'></bdo><ul id='aB4wm'></ul>
                          <legend id='aB4wm'><style id='aB4wm'><dir id='aB4wm'><q id='aB4wm'></q></dir></style></legend>