无法创建新项目或项目:Visual Studio 2010对话框初始化异常

编程入门 行业动态 更新时间:2024-10-21 20:32:22
本文介绍了无法创建新项目或项目:Visual Studio 2010对话框初始化异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

每当我执行添加",新建项目",添加">新项目"或文件">新项目"时,VS2010都会引发对话框初始化异常,从而阻止我创建新项目或类.对可能出什么问题有任何想法吗?

Whenever I do Add>New Item, Add>New Project or File>New Project VS2010 is throwing a dialog initialization exception, preventing me from creating new projects or classes. Any idea on what could be going wrong?

推荐答案

听起来您可能存在与第三方软件包或加载项有关的问题.这里有一些尝试的方法:

It sounds like you might have a problem related to a third party package or add-in. Here are some things to try:

  • 以管理员身份运行Visual Studio.

  • Running Visual Studio as an administrator.

您可以尝试运行devenv /Resetsettings(请参见此处)在命令提示符中 应该修复所有损坏的设置

You can try running devenv /Resetsettings (see here) in a Command Prompt which should fix any corrupted settings

尝试运行devenv /ResetSkipPkgs(请参阅) 此处) 这样可以避免加载任何有问题的程序包.

Try running devenv /ResetSkipPkgs (see here) which will avoid loading any problem packages.

尝试运行devenv /Safemode(请参见此处) .如果它在安全模式下工作,则 问题很可能是第三方加载项或软件包.

Try running devenv /Safemode (see here). If it works in safe mode then the problem is most likely a third party add-ins or package.

您也可以尝试Devenv.exe /log <log path>".这将生成一个名为ActivityLog.xml的文件,该文件可能会为您提供更多线索.

You can also try Devenv.exe /log <log path>". This will generate a file called ActivityLog.xml which might give you further clues.

如果这些帮助都没有,则可以从控制面板修复 Visual Studio.

If none of those help then repair Visual Studio from the Control Panel.

更多推荐

无法创建新项目或项目:Visual Studio 2010对话框初始化异常

本文发布于:2023-11-15 19:09:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1597185.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:初始化   对话框   新项目   异常   项目

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!