创建新的 Visual Studio C++ 项目时出错 [英] Error creating a new Visual Studio c++ project

查看:54
本文介绍了创建新的 Visual Studio C++ 项目时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Visual Studio 中创建一个新的 C++ 项目时出现错误

As I try to create a new c++ project in Visual Studio I have the error

无法加载项目文件.缺少根元素

the project file could not be loaded. root element is missing

错误在 Cpp.Win32.user.props(0,0)

the error is at the Cpp.Win32.user.props(0,0)

有人知道如何修复错误吗?

do somebody know how to fix the error?

推荐答案

您是否尝试删除以下文件:C:\Users\YOURUSER\AppData\Local\Microsoft\MSBuild\v4.0\Micr‌ osoft.Cpp.Win32.user‌ .props"并重新启动 Visual Studio?这似乎是一个常见的错误.

Did you try deleting the following file: "C:\Users\YOURUSER\AppData\Local\Microsoft\MSBuild\v4.0\Micr‌​osoft.Cpp.Win32.user‌​.props" And restarting Visual Studio? It seems to be a common error.

这篇关于创建新的 Visual Studio C++ 项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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