如何修复无法加载的 Expression Blend 包? [英] How to fix Expression Blend packages failing to load?
问题描述
重新安装 Visual Studio(及其所有组件)后,我遇到了 Expression Blend 问题,该问题停止工作.启动 Expression Blend 时,显示以下错误:
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:
尝试创建新项目"时,不显示任何项目模板.最后,当我尝试打开一个现有的 WPF 项目时,开始显示错误消息,指出各种包没有正确加载:
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:
阅读 ActivityLog.xml 不是很有帮助.我附在这里:ActivityLog.xml
Reading ActivityLog.xml was not very helpful. I attached it here: ActivityLog.xml
在执行重新安装之前,我对 Blend 没有任何问题,所以它肯定是 Blend 文件损坏了.
I did not have any issues with blend before I performed a reinstall, so it must have damaged Blend files.
我尝试运行 Visual Studio 安装程序来修复它,但没有帮助.
I tried running Visual Studio installer to repair it, but it did not help.
如何完全重置 Expression Blend 设置,或完全重新安装/修复它以解决问题?
How can I fully reset Expression Blend settings, or fully reinstall/repair it to fix the issue?
推荐答案
找到了解决方案.要解决 Visual Studio 或 Blend 的此类问题,只需删除 %LOCALAPPDATA%\Microsoft\VisualStudio\{version}\ComponentModelCache
或 %LOCALAPPDATA%\Microsoft\Blend\{version}\ComponentModelCache
(分别),然后重新启动 Visual Studio 或 Blend.
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.
找到解决方案Microsoft Connect
这篇关于如何修复无法加载的 Expression Blend 包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!