无法加载文件或程序集' Bunifu_UI_v1.5.3' (HRESULT异常:0x80131044)

时间:2018-02-16 21:48:45

标签: bunifu

我已经在我的一个Visual Studio 2017项目中出现了这个错误一段时间了:

'SploitBase UI©.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\Angus\Desktop\SploitBase UI©\SploitBase UI©\bin\Debug\SploitBase UI©.exe'. Symbols loaded.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SploitBase UI©.exe' (CLR v4.0.30319: SploitBase UI©.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.FileLoadException' in SploitBase UI©.exe
An unhandled exception of type 'System.InvalidOperationException' occurred in SploitBase UI©.exe
An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not load file or assembly 'Bunifu_UI_v1.5.3, Version=1.5.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

The program '[5012] SploitBase UI©.exe' has exited with code -1 (0xffffffff).

我重新下载了Bunifu DLL,并将其重新添加到工具箱和参考资料中,但似乎无法发挥作用。

  

该程序还会进入“休息模式”。当我启动它时,以及每当我从

启动程序时
C:\Users\Chris\Desktop\SploitBase UI©\SploitBase UI©\bin\Debug
  

它说'这个程序没有响应'。

2 个答案:

答案 0 :(得分:1)

默认情况下,启用“仅我的代码”选项并启用此选项,VS将跳过为优化的dll-s加载符号。您可以通过取消选中Debug-> Options-> Debugging-> General:

中的此选项来禁用“Just My Code”

enter image description here

此外,尝试取消选中项目属性下的优化代码:

enter image description here

答案 1 :(得分:1)

Bunifu Dll没有使用强大的密钥名签名,这是在部署期间犯的错误,因此您需要做的是避免签署您的软件 - 临时解决方案。已向公司提交了一份请求以签署其程序集。请参阅下文,了解如何禁用 - [保持未选中]。

Disabling strong keyname signing