zoukankan      html  css  js  c++  java
  • 更新vs2017 15.9.2后,在指定-T v141_xp情况下载编译会报下面warning MSB8051

    更新vs2017 15.9.2后,在指定-T v141_xp情况下载编译会报下面warning:

        C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDEVCVCTargetsPlatformsWin32PlatformToolsetsv141_xpToolset.targets(39,5): warning MSB8051: 面向 Windows XP 的支持已被弃用,将来的 Visual Studio 版本不再提供该支持。请访问 https://go.microsoft.com/fwlink/?linkid=2023588,获取详细信息。
    

    如果不想看到warning, 可以将C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDEVCVCTargetsPlatformsWin32PlatformToolsetsv141_xpToolset.targets中Line 39行

        <!-- Deprecation of XP in next VS version. To ignore this message, set XPDeprecationWarning property to false. -->
        <VCMessage Code="MSB8051" Type="Warning" Condition="'$(XPDeprecationWarning)' != 'false'" />
    

    修改为

    <!-- Deprecation of XP in next VS version. To ignore this message, set XPDeprecationWarning property to false. -->
        <VCMessage Code="MSB8051" Type="Warning" Condition="'$(XPDeprecationWarning)' == 'false'" />
    
  • 相关阅读:
    2019春季第五周作业
    2019春第四周作业(基础题)计算机
    2019第三周作业
    第二周基础作业
    2019春第九周作业
    2019年春第八周作业
    第七周总结
    第六周作业
    2019春第五周作业
    2019年春季学期第四周作业
  • 原文地址:https://www.cnblogs.com/kernel0815/p/10019408.html
Copyright © 2011-2022 走看看