无法创建新项目或项目:Visual Studio 2010对话框初始化异常 [英] Can't create new projects nor items: Visual Studio 2010 dialog initialization exception

查看:298
本文介绍了无法创建新项目或项目: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对话框初始化异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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