title: How to disable "warning MSB8051: Support for targeting Windows XP is deprecated" in VS2017?
body: <p>Since about one of the latest updates to Visual Studio 2017 I started getting the following warning during the build of my MFC project:</p>
  
  <blockquote>
    <p>1>C:\Program Files (x86)\Microsoft Visual
    Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\x64\PlatformToolsets\v141_xp\Toolset.targets(39,5):
    warning MSB8051: Support for targeting Windows XP is deprecated and
    will not be present in future releases of Visual Studio. Please see
    <a href="https://go.microsoft.com/fwlink/?linkid=2023588" rel="noreferrer">https://go.microsoft.com/fwlink/?linkid=2023588</a> for more information.</p>
  </blockquote>
  
  <p>How do I disable this warning?</p>
  
  <p>Here's the project configuration:</p>
  
  <p><a href="https://i.stack.imgur.com/rF5NV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rF5NV.png" alt="enter image description here"></a></p>