吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 377|回复: 4
收起左侧

[经验求助] 如何确定 VS2022属性配置Microsoft.Cpp.Default.props 中的标签是否已经执行?

[复制链接]
durongze 发表于 2024-7-25 17:59
60吾爱币
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(457,5): error MSB8020: The build tools for Visual Studio 2005 (Platform Toolset = 'v80') cannot be found. To build using the v80 build tools, pl
----------------------------------------------------------------
vs2005 其实已经安装。
如何确定 Microsoft.Cpp.Default.props 中的标签是否已经执行?
<PropertyGroup>
<!-- Short names for platform toolsets (added to project name in Solution Explorer) -->
<_PlatformToolsetShortNameFor_v142 Condition="'$(_PlatformToolsetShortNameFor_v142)' == ''">Visual Studio 2019</_PlatformToolsetShortNameFor_v142>
<_PlatformToolsetShortNameFor_v141 Condition="'$(_PlatformToolsetShortNameFor_v141)' == ''">Visual Studio 2017</_PlatformToolsetShortNameFor_v141>
<_PlatformToolsetShortNameFor_v140 Condition="'$(_PlatformToolsetShortNameFor_v140)' == ''">Visual Studio 2015</_PlatformToolsetShortNameFor_v140>
<_PlatformToolsetShortNameFor_v140_xp Condition="'$(_PlatformToolsetShortNameFor_v140_xp)' == ''">Visual Studio 2015 - Windows XP</_PlatformToolsetShortNameFor_v140_xp>
<_PlatformToolsetShortNameFor_v120 Condition="'$(_PlatformToolsetShortNameFor_v120)' == ''">Visual Studio 2013</_PlatformToolsetShortNameFor_v120>
<_PlatformToolsetShortNameFor_v120_xp Condition="'$(_PlatformToolsetShortNameFor_v120_xp)' == ''">Visual Studio 2013 - Windows XP</_PlatformToolsetShortNameFor_v120_xp>
<_PlatformToolsetShortNameFor_v110 Condition="'$(_PlatformToolsetShortNameFor_v110)' == ''">Visual Studio 2012</_PlatformToolsetShortNameFor_v110>
<_PlatformToolsetShortNameFor_v110_xp Condition="'$(_PlatformToolsetShortNameFor_v110_xp)' == ''">Visual Studio 2012 - Windows XP</_PlatformToolsetShortNameFor_v110_xp>
<_PlatformToolsetShortNameFor_v100 Condition="'$(_PlatformToolsetShortNameFor_v100)' == ''">Visual Studio 2010</_PlatformToolsetShortNameFor_v100>
<_PlatformToolsetShortNameFor_v90 Condition="'$(_PlatformToolsetShortNameFor_v90)' == ''">Visual Studio 2008</_PlatformToolsetShortNameFor_v90>
<_PlatformToolsetShortNameFor_v80 Condition="'$(_PlatformToolsetShortNameFor_v80)' == ''">Visual Studio 2005</_PlatformToolsetShortNameFor_v80>
<!-- Friendly names added to the PlatformToolset in the property pages. -->
<_PlatformToolsetFriendlyNameFor_v143 Condition="'$(_PlatformToolsetFriendlyNameFor_v143)' == ''">Visual Studio 2022 (v143)</_PlatformToolsetFriendlyNameFor_v143>
<_PlatformToolsetFriendlyNameFor_v142 Condition="'$(_PlatformToolsetFriendlyNameFor_v142)' == ''">Visual Studio 2019 (v142)</_PlatformToolsetFriendlyNameFor_v142>
<_PlatformToolsetFriendlyNameFor_v141_xp Condition="'$(_PlatformToolsetFriendlyNameFor_v141_xp)' == ''">Visual Studio 2017 - Windows XP (v141_xp)</_PlatformToolsetFriendlyNameFor_v141_xp>
<_PlatformToolsetFriendlyNameFor_v141 Condition="'$(_PlatformToolsetFriendlyNameFor_v141)' == ''">Visual Studio 2017 (v141)</_PlatformToolsetFriendlyNameFor_v141>
<_PlatformToolsetFriendlyNameFor_v140_xp Condition="'$(_PlatformToolsetFriendlyNameFor_v140_xp)' == ''">Visual Studio 2015 - Windows XP (v140_xp)</_PlatformToolsetFriendlyNameFor_v140_xp>
<_PlatformToolsetFriendlyNameFor_v140 Condition="'$(_PlatformToolsetFriendlyNameFor_v140)' == ''">Visual Studio 2015 (v140)</_PlatformToolsetFriendlyNameFor_v140>
<_PlatformToolsetFriendlyNameFor_v140_clang_3_7 Condition="'$(_PlatformToolsetFriendlyNameFor_v140_clang_3_7)' == ''">Clang 3.7 with Microsoft CodeGen (v140_clang_3_7)</_PlatformToolsetFriendlyNameFor_v140_clang_3_7>
<_PlatformToolsetFriendlyNameFor_v140_clang_c2 Condition="'$(_PlatformToolsetFriendlyNameFor_v140_clang_c2)' == ''">Visual Studio 2015 - Clang with Microsoft CodeGen (v140_clang_c2)</_PlatformToolsetFriendlyNameFor_v140_clang_c2>
<_PlatformToolsetFriendlyNameFor_v120_xp Condition="'$(_PlatformToolsetFriendlyNameFor_v120_xp)' == ''">Visual Studio 2013 - Windows XP (v120_xp)</_PlatformToolsetFriendlyNameFor_v120_xp>
<_PlatformToolsetFriendlyNameFor_v120 Condition="'$(_PlatformToolsetFriendlyNameFor_v120)' == ''">Visual Studio 2013 (v120)</_PlatformToolsetFriendlyNameFor_v120>
<_PlatformToolsetFriendlyNameFor_v110_xp Condition="'$(_PlatformToolsetFriendlyNameFor_v110_xp)' == ''">Visual Studio 2012 - Windows XP (v110_xp)</_PlatformToolsetFriendlyNameFor_v110_xp>
<_PlatformToolsetFriendlyNameFor_v110 Condition="'$(_PlatformToolsetFriendlyNameFor_v110)' == ''">Visual Studio 2012 (v110)</_PlatformToolsetFriendlyNameFor_v110>
<_PlatformToolsetFriendlyNameFor_v100 Condition="'$(_PlatformToolsetFriendlyNameFor_v100)' == ''">Visual Studio 2010 (v100)</_PlatformToolsetFriendlyNameFor_v100>
<_PlatformToolsetFriendlyNameFor_v90 Condition="'$(_PlatformToolsetFriendlyNameFor_v90)' == ''">Visual Studio 2008 (v90)</_PlatformToolsetFriendlyNameFor_v90>
<_PlatformToolsetFriendlyNameFor_v80 Condition="'$(_PlatformToolsetFriendlyNameFor_v80)' == ''">Visual Studio 2005 (v80)</_PlatformToolsetFriendlyNameFor_v80>
<v143_Installed Condition="Exists('$(VCTargetsPath)\Platforms\Win32\PlatformToolsets\v143\Toolset.props')">true</v143_Installed>
<v141_xp_Installed Condition="Exists('$(VCTargetsPath15)\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.props')">true</v141_xp_Installed>
<v80_Installed Condition="Exists('$(VCTargetsPath)\Platforms\Win32\PlatformToolsets\v80\Microsoft.Cpp.Win32.v80.props')">true</v80_Installed>
<!-- Define the upgrade toolsets for each old toolset -->
<_UpgradePlatformToolsetFor_v143 Condition="'$(_UpgradePlatformToolsetFor_v143)' == ''">v143</_UpgradePlatformToolsetFor_v143>
<_UpgradePlatformToolsetFor_v142 Condition="'$(_UpgradePlatformToolsetFor_v142)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v142>
<_UpgradePlatformToolsetFor_v141 Condition="'$(_UpgradePlatformToolsetFor_v141)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v141>
<_UpgradePlatformToolsetFor_v141_xp Condition="'$(_UpgradePlatformToolsetFor_v141_xp)' == ''">v141_xp</_UpgradePlatformToolsetFor_v141_xp>
<_UpgradePlatformToolsetFor_v140 Condition="'$(_UpgradePlatformToolsetFor_v140)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v140>
<_UpgradePlatformToolsetFor_v140_xp Condition="'$(_UpgradePlatformToolsetFor_v140_xp)' == '' and '$(v141_xp_Installed)' == 'true'">v141_xp</_UpgradePlatformToolsetFor_v140_xp>
<_UpgradePlatformToolsetFor_v120 Condition="'$(_UpgradePlatformToolsetFor_v120)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v120>
<_UpgradePlatformToolsetFor_v120_xp Condition="'$(_UpgradePlatformToolsetFor_v120_xp)' == '' and '$(v141_xp_Installed)' == 'true'">v141_xp</_UpgradePlatformToolsetFor_v120_xp>
<_UpgradePlatformToolsetFor_v110 Condition="'$(_UpgradePlatformToolsetFor_v110)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v110>
<_UpgradePlatformToolsetFor_v110_xp Condition="'$(UpgradePlatformToolsetFor_v110_xp)' == '' and '$(v141_xp_Installed)' == 'true'">v141_xp</_UpgradePlatformToolsetFor_v110_xp>
<_UpgradePlatformToolsetFor_v100 Condition="'$(_UpgradePlatformToolsetFor_v100)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v100>
<_UpgradePlatformToolsetFor_v90 Condition="'$(_UpgradePlatformToolsetFor_v90)' == '' and '$(v143_Installed)' == 'true'">v143</_UpgradePlatformToolsetFor_v90>

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\v80>dir
Volume in drive C is windows
Volume Serial Number is FC66-0F0F
Directory of C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\v80
06/11/2024 11:28 AM <DIR> .
06/11/2024 11:28 AM <DIR> ..
06/11/2024 11:28 AM <DIR> 1028
06/11/2024 11:28 AM <DIR> 1029
06/11/2024 11:28 AM <DIR> 1031
06/11/2024 11:28 AM <DIR> 1033
06/11/2024 11:28 AM <DIR> 1036
06/11/2024 11:28 AM <DIR> 1040
06/11/2024 11:28 AM <DIR> 1041
06/11/2024 11:28 AM <DIR> 1042
06/11/2024 11:28 AM <DIR> 1045
06/11/2024 11:28 AM <DIR> 1046
06/11/2024 11:28 AM <DIR> 1049
06/11/2024 11:28 AM <DIR> 1055
06/11/2024 11:28 AM <DIR> 2052
06/11/2024 11:28 AM <DIR> 3082
05/19/2024 10:48 PM 5,120 Daffodil.CPPTasks.Win32.v80.dll
05/19/2024 10:42 PM 4,823 Microsoft.Cpp.Win32.v80.props
08/15/2023 05:19 PM 23,622 Microsoft.Cpp.Win32.v80.targets
3 File(s) 33,565 bytes
16 Dir(s) 15,532,634,112 bytes free

最佳答案

查看完整内容

我没有文件,只是告诉你怎么找到文件

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

ad9528 发表于 2024-7-25 17:59
我没有文件,只是告诉你怎么找到文件
 楼主| durongze 发表于 2024-7-28 13:03
&#8203;&#8203;https://mp.csdn.net/mp_blog/creation/editor/140749044
 楼主| durongze 发表于 2024-7-28 13:04
 楼主| durongze 发表于 2024-11-8 20:42
各位路过的朋友好歹给个回复啊。  
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-15 09:00

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表