CodeSnippetSetup 出错解决办法

作者:admin发表时间:2011-4-22 评论:0 点击 2,989+

Windows live writer CodeSnippetSetup 插件是一个代码高亮显示插件,但安装后运行出现如下错误情况:

System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。

文件名:“Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”

在 WLWPluginBase.Win32.Win32IEHelper.GetSelectedText(IntPtr handle)

在 CodeSnippet.CodeSnippetPlugin.CreateContent(IWin32Window dialogOwner, String& content)

在 WindowsLive.Writer.PostEditor.ContentSources.ContentSourceManager.PerformInsertion(IContentSourceSite sourceSite, ContentSourceInfo contentSource)

警告: 程序集绑定日志记录被关闭。

要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。

注意: 会有一些与程序集绑定失败日志记录关联的性能损失。

要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

clip_image002

看上面的错误提示代码某一个依赖项。系统找不到指定的文件。

文件名:“Microsoft.mshtml, Version=7.0.3300.0,明显是缺个文件。

那我们就下载个文件安上。下载地址

把下载好的文件拖拽到C:\WINDOWS\assembly 目录,直接拖进去就行了。

clip_image004

接下来重启wlw 试试看

clip_image006

没有错误,现在可以正常使用了。

顶一下 0 踩一下 0

你可能对以下内容感兴趣!

  1. wordpress之live writer 无法跟...
  2. wordpress文字截断乱码writer无法更新...
  3. 完美解决Windows 2003 server上安...
  4. WordPress3.0.1版 Live Writ...

发表回复

*

w_0002.gif w_0009.gif w_0007.gif w_0011.gif w_0005.gif w_0008.gif w_0010.gif w_0003.gif w_0012.gif w_0001.gif w_0006.gif