1

一段时间以来,我的一个 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,并将其重新添加到 Toolbox 和 References,但似乎仍然没有什么不同。

当我启动它时,程序也会进入“中断模式”,每当我从

C:\Users\Chris\Desktop\SploitBase UI©\SploitBase UI©\bin\Debug

它说“这个程序没有响应”。

4

2 回答 2

1

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

在此处输入图像描述

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

在此处输入图像描述

于 2018-02-19T02:51:26.660 回答
1

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

禁用强键名签名

于 2018-03-23T07:51:23.090 回答