undebel / NoFuserEx

Free deobfuscator for ConfuserEx.
MIT License
383 stars 94 forks source link

Can't get it to compile. #13

Open doria90 opened 7 years ago

doria90 commented 7 years ago

I'm using Visual Studio 2017 and can't get it to compile cleanly. I'm getting 10 errors from various sections of the code:

Severity    Code    Description Project File    Line    Suppression State
Error   CS1061  'IList<Resource>' does not contain a definition for 'Find' and no extension method 'Find' accepting a first argument of type 'IList<Resource>' could be found (are you missing a using directive or an assembly reference?) NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\Deobfuscators\ResourcesDeobfuscator.cs  45  Active

Error   CS1061  'MethodDef' does not contain a definition for 'HasParamDefs' and no extension method 'HasParamDefs' accepting a first argument of type 'MethodDef' could be found (are you missing a using directive or an assembly reference?) NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\Deobfuscators\ResourcesDeobfuscator.cs  77  Active

Error   CS1503  Argument 1: cannot convert from 'dnlib.DotNet.ICustomAttributeType' to 'System.Type'    NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\MemberCloner.cs 99  Active

Error   CS1061  'Local' does not contain a definition for 'PdbAttributes' and no extension method 'PdbAttributes' accepting a first argument of type 'Local' could be found (are you missing a using directive or an assembly reference?)   NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\MemberCloner.cs 111 Active

Error   CS1061  'Local' does not contain a definition for 'PdbAttributes' and no extension method 'PdbAttributes' accepting a first argument of type 'Local' could be found (are you missing a using directive or an assembly reference?)   NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\MemberCloner.cs 111 Active

Error   CS0117  'Instruction' does not contain a definition for 'SequencePoint' NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\MemberCloner.cs 117 Active

Error   CS1061  'Instruction' does not contain a definition for 'SequencePoint' and no extension method 'SequencePoint' accepting a first argument of type 'Instruction' could be found (are you missing a using directive or an assembly reference?)   NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\MemberCloner.cs 117 Active

Error   CS1503  Argument 1: cannot convert from 'string' to 'System.Reflection.AssemblyName'    NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\AssemblyCreator.cs  20  Active

Error   CS1061  'MethodSpec' does not contain a definition for 'ResolveMethodDef' and no extension method 'ResolveMethodDef' accepting a first argument of type 'MethodSpec' could be found (are you missing a using directive or an assembly reference?)   NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\Deobfuscators\Constants\ConstantsDeobfuscator.cs    65  Active

Error   CS1061  'MethodDef' does not contain a definition for 'HasParamDefs' and no extension method 'HasParamDefs' accepting a first argument of type 'MethodDef' could be found (are you missing a using directive or an assembly reference?) NoFuserEx   C:\Users\home\Desktop\NoFuserEx-master\NoFuserEx\NoFuserEx\Deobfuscator\Deobfuscators\Constants\ConstantsDeobfuscator.cs    135 Active

What am I missing?

SlowLogicBoy commented 7 years ago

You haven't downloaded submodules, downloading zip file is not enough.

doria90 commented 7 years ago

Thanks! Where can I see what submodules needs to be installed?

ghost commented 7 years ago

If you don't know how to compile a project or detect what's wrong with it or even know what a sub module is what's the point of you downloading this source

doria90 commented 7 years ago

I didn't know you have to be a C# developer to participate in github. If you don't want to help then feel free to ignore my questions.

SlowLogicBoy commented 7 years ago

git clone --recursive https://github.com/CodeShark-Dev/NoFuserEx.git should be enough to download everything you need. (I use sourcetree so I don't know exact command)

Since I use Visual Studio 2015, everything just compiled when opened NoFuserEx\NoFuserEx\NoFuserEx.sln and pressed build solution.

doria90 commented 7 years ago

Thanks a lot mate!