Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load dlls #536

Closed
manekinekoamoy opened this issue Mar 25, 2016 · 6 comments
Closed

Can't load dlls #536

manekinekoamoy opened this issue Mar 25, 2016 · 6 comments
Labels

Comments

@manekinekoamoy
Copy link

  1. Appveyor 下载,1.2778。
  2. 下载最新版本后,打开即无法加载插件,包括1.2776及1.2777版本也出现这个问题。
  3. win10 专业版 1511
  4. log
    2016-03-25.log.txt
2016-03-25 14:18:13.1796|ERROR|Wox.Infrastructure.Logger.Log|Calculator : Couldn't load plugin
2016-03-25 14:18:13.2371|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.2531|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Caculator, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.2531|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.2686|ERROR|Wox.Infrastructure.Logger.Log|Shell : Couldn't load plugin
2016-03-25 14:18:13.2686|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.2686|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.CMD, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.2686|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.2866|ERROR|Wox.Infrastructure.Logger.Log|Colors : Couldn't load plugin
2016-03-25 14:18:13.2866|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.2866|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Color, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.2866|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.3041|ERROR|Wox.Infrastructure.Logger.Log|Control Panel : Couldn't load plugin
2016-03-25 14:18:13.3041|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.3041|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.ControlPanel, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.3041|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.3206|ERROR|Wox.Infrastructure.Logger.Log|Everything : Couldn't load plugin
2016-03-25 14:18:13.3206|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.3206|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Everything, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.3331|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.3331|ERROR|Wox.Infrastructure.Logger.Log|Folder : Couldn't load plugin
2016-03-25 14:18:13.3331|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.3486|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Folder, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.3486|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.3486|ERROR|Wox.Infrastructure.Logger.Log|Plugin Indicator : Couldn't load plugin
2016-03-25 14:18:13.3636|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.3636|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.PluginIndicator, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.3636|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.3791|ERROR|Wox.Infrastructure.Logger.Log|Wox Plugin Management : Couldn't load plugin
2016-03-25 14:18:13.3791|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.3791|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.PluginManagement, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.3791|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.3971|ERROR|Wox.Infrastructure.Logger.Log|Program : Couldn't load plugin
2016-03-25 14:18:13.3971|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.3971|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Program, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.3971|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.4131|ERROR|Wox.Infrastructure.Logger.Log|System Commands : Couldn't load plugin
2016-03-25 14:18:13.4131|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.4131|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Sys, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.4246|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.4246|ERROR|Wox.Infrastructure.Logger.Log|URL : Couldn't load plugin
2016-03-25 14:18:13.4428|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.4428|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.Url, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.4428|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22
2016-03-25 14:18:13.4584|ERROR|Wox.Infrastructure.Logger.Log|Web Searches : Couldn't load plugin
2016-03-25 14:18:13.4584|ERROR|Wox.Infrastructure.Logger.Log|
2016-03-25 14:18:13.4584|ERROR|Wox.Infrastructure.Logger.Log|未能加载文件或程序集“Wox.Plugin.WebSearch, Version=1.2.778.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
2016-03-25 14:18:13.4740|ERROR|Wox.Infrastructure.Logger.Log|   在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   在 System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   在 Wox.Core.Plugin.CSharpPluginLoader.LoadPlugin(List`1 pluginMetadatas) 位置 C:\projects\wox\Wox.Core\Plugin\CSharpPluginLoader.cs:行号 22

@bao-qian
Copy link
Member

试一下把旧的 Wox\Plugins 删除。

@manekinekoamoy
Copy link
Author

我把之前所有下的版本都删除,并重启后,依旧出现这个错误。

@bao-qian
Copy link
Member

之前能用吗?
之前能用的是哪个版本?
试一下把 wox 放到 C:\Users\YOUUSERNAME or %userprofile%

@cxfksword
Copy link
Contributor

@happlebao 参考这文章说明:http://www.cocoachina.com/bbs/3g/read.php?tid=289977
在Wox.conf加上下面的配置是可以了,建议默认加上

<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>

@bao-qian
Copy link
Member

@manekinekoamoy

  1. 试一下 unblock Wox 文件夹: do not work with windows 10 #279 (comment)
  2. 试一下 @cxfksword 的方法

@bao-qian bao-qian added bug and removed question labels Mar 26, 2016
@bao-qian bao-qian changed the title 插件无法加载 Can't load dlls Mar 26, 2016
@bao-qian
Copy link
Member

试一下 build 1.2.787.
有问题就重开 issue,没问题也请汇报一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants