如何修复Expression Blend包无法加载?

时间:2022-03-27 17:41:42

After reinstalling Visual Studio (and all of its components), I ran into an issue with Expression Blend, which stopped to work. Upon starting Expression Blend, the following error is displayed:

重新安装Visual Studio(及其所有组件)后,我遇到了Expression Blend的问题,它停止工作。启动Expression Blend后,将显示以下错误:

如何修复Expression Blend包无法加载?

When trying to "Create new project", no project templates are shown. Finally, when I tried to open an existing WPF project, error messages started to show, stating that various packages did not load correctly:

尝试“创建新项目”时,不会显示任何项目模板。最后,当我尝试打开现有的WPF项目时,错误消息开始显示,说明各种包未正确加载:

如何修复Expression Blend包无法加载?

Reading ActivityLog.xml was not very helpful. I attached it here: ActivityLog.xml

阅读ActivityLog.xml不是很有帮助。我在这里附上它:ActivityLog.xml

I did not have any issues with blend before I performed a reinstall, so it must have damaged Blend files.

在我执行重新安装之前,我没有遇到任何混合问题,所以它必须有损坏的Blend文件。

I tried running Visual Studio installer to repair it, but it did not help.

我尝试运行Visual Studio安装程序来修复它,但它没有帮助。

How can I fully reset Expression Blend settings, or fully reinstall/repair it to fix the issue?

如何完全重置Expression Blend设置,或完全重新安装/修复它以解决问题?

1 个解决方案

#1


0  

Found a solution. To resolve such problems with Visual Studio or Blend, simply delete %LOCALAPPDATA%\Microsoft\VisualStudio\{version}\ComponentModelCache or %LOCALAPPDATA%\Microsoft\Blend\{version}\ComponentModelCache (respectively), then restart your Visual Studio or Blend.

找到了解决方案。要使用Visual Studio或Blend解决此类问题,只需删除%LOCALAPPDATA%\ Microsoft \ VisualStudio \ {version} \ ComponentModelCache或%LOCALAPPDATA%\ Microsoft \ Blend \ {version} \ ComponentModelCache(分别),然后重新启动Visual Studio或Blend 。

Solution found Microsoft Connect

解决方案找到Microsoft Connect

#1


0  

Found a solution. To resolve such problems with Visual Studio or Blend, simply delete %LOCALAPPDATA%\Microsoft\VisualStudio\{version}\ComponentModelCache or %LOCALAPPDATA%\Microsoft\Blend\{version}\ComponentModelCache (respectively), then restart your Visual Studio or Blend.

找到了解决方案。要使用Visual Studio或Blend解决此类问题,只需删除%LOCALAPPDATA%\ Microsoft \ VisualStudio \ {version} \ ComponentModelCache或%LOCALAPPDATA%\ Microsoft \ Blend \ {version} \ ComponentModelCache(分别),然后重新启动Visual Studio或Blend 。

Solution found Microsoft Connect

解决方案找到Microsoft Connect