更新vs2019 后,在指定-T v141_xp情况下载编译会报下面warning MSB8051
Posted caimouse
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了更新vs2019 后,在指定-T v141_xp情况下载编译会报下面warning MSB8051相关的知识,希望对你有一定的参考价值。
需要修改下面的文件:
VS2019\\MSBuild\\Microsoft\\VC\\v150\\Platforms\\Win32\\PlatformToolsets\\v141_xp
文件内容如下:
<!--
***********************************************************************************************
Toolset.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
This file defines the steps/targets required to build Visual C++ (version 14.0) projects
specifically on x86 platforms.
Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)ImportBefore\\*.targets"
以上是关于更新vs2019 后,在指定-T v141_xp情况下载编译会报下面warning MSB8051的主要内容,如果未能解决你的问题,请参考以下文章
构建在 VS 2013 中找不到 Platform Toolset = 'v141'
VS2017 和 Win7/XP 上缺少“api-ms-win-core-rtlsupport-l1-2-0.dll”