简体   繁体   English

Dnspy 无法编译 MySql.Data

[英]Dnspy can't compile MySql.Data

I have deobfuscated an executable file with de4dot and Dnspy.我已经使用 de4dot 和 Dnspy 对可执行文件进行了去混淆处理。 I can change and compile most of the classes but, I can't change and compile the ones that has MySql methods in it.我可以更改和编译大多数类,但是我无法更改和编译其中包含 MySql 方法的类。 It gives me an error: type or namespace name 'MySql' could not be found .When I click on the using MySql.Data.MySqlClient;它给了我一个错误: type or namespace name 'MySql' could not be found 。当我点击using MySql.Data.MySqlClient; line, Dnspy leads me to an empty page.行,Dnspy 将我带到一个空白页面。 Mysql.Data is shown in the references folder but there is nothing inside it. Mysql.Data显示在参考文件夹中,但其中没有任何内容。

That is an external reference, not in the.exe itself but looks like MySql connector classes.这是一个外部引用,不在 .exe 本身中,但看起来像 MySql 连接器类。

I have downloaded MySql.Data.dll from nuget and put it into the same folder and restarted the Dnspy.我已经从 nuget 下载了 MySql.Data.dll 并将其放入同一个文件夹并重新启动 Dnspy。 It worked.有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM