Microsoft.VisualStudio.Dialogs.DialogInitializationException 问题解决

参照这个地址下面的解决方案:

http://connect.microsoft.com/VisualStudio/feedback/details/716027/visual-studio-11-developer-preview-problem

原文:

Hello Christian Gustavsson, you can workaround the problem you're seeing either by launching devenv with the /resetuserdata flag. Navigate via the Start button to the 'developer preview' command prompt and run devenv /resetuserdata.

If this fails to solve the problem, exit visual studio, delete the file %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache
and restart visual studio.

Matt Kaufman
Program Manager, Visual Studio Platform
blogs.msdn.com/b/visualstudio

其实就是两种方法:

(1)在安装的VS的命令提示符状态下输入“devenv /resetuserdata”,然后回车;

(2)删除“%LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache”路径下的文件,然后重新启动VS.

LOCALAPPDATA这个应该是一个环境变量,具体路径查看环境变量里应该可以看到;

我遇到这个问题,采用第一种解决方法就已经解决;

猜你喜欢

转载自blog.csdn.net/sinat_30106697/article/details/81143443