错误MSB4024 [英] Error MSB4024

查看:1077
本文介绍了错误MSB4024的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误  MSB4024 - > 


错误 MSB4024
导入的项目文件"C:\Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Communmunity \Common7 \IDE \ VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets"无法加载。解析时出现意外的文件结束注释已发生
。第48行,第1位。 com.mansingh_project
C:\Program文件(x86)\ Microsoft Visual Studio \\\ 2017 \ Communmunity \ Common7 \IDE \VC \ VCTargets \ Microsoft.Cpp.Platform.targets
30


因此


- > toolset.target有一个错误 - >此外,我的工具集未加载到VB社区2017  


可能导致工具集失败的原因。还有一件事我使用64位但由于项目依赖性,我可能不得不使用32位平台工具集。

解决方案

Hi Manz_03,


欢迎来到MSDN论坛。


错误MSB4024表示格式错误的项目文件。请检查生成错误的项目的XML结构。


要修复工具集,请以管理员身份运行VS 2017安装程序并选择更多修复以修复VS,然后再次检查。


 


祝你好运,


Sara < /跨度>


I am receiving error MSB4024 -> 

Error MSB4024 The imported project file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets" could not be loaded. Unexpected end of file while parsing Comment has occurred. Line 48, position 1. com.mansingh_project C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets 30

hence

--> there is an error for toolset.target -> also my tool set is not loading in the VB community 2017  

what might have caused toolset to failed. There is one more thing i am using 64 bit but due to project dependencies i may have to use 32 bit platform toolset .

解决方案

Hi Manz_03,

Welcome to the MSDN forum.

The error MSB4024 denotes a malformed project file. Please check the XML structure of the project generating the error.

To repair the toolset, please run the VS 2017 installer as administrator and choose More-Repair to repair VS, then check it again.

 

Best regards,

Sara


这篇关于错误MSB4024的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆