yck1509 / ConfuserEx

An open-source, free protector for .NET applications
http://yck1509.github.io/ConfuserEx/
Other
3.57k stars 1.63k forks source link

ConfuserEx does not support matrices of struct type defined in a library?? #130

Closed Palollo closed 9 years ago

Palollo commented 9 years ago

Version: 0.3.0 Small example of the issue (just execute test.cmd): https://www.dropbox.com/s/saqootnx5csj9kh/ConfuserExTest.zip?dl=0

There is a struct (two floats) defined in a library. In Main() a two dimensional matrix is declared and initialized. That's all. In order to simplify, the ConfuserEx project file defines only two modules (lib+exe); no packer, no protection rules.

This is the error from the output: [ERROR] Failed to resolve a member, check if all dependencies are of correct version. Exception: dnlib.DotNet.MemberRefResolveException: Could not resolve method/field: System.Void AuxLib.simpleStruct[0...,0...]::.ctor(System.Int32,System.Int32) in dnlib.DotNet.Extensions.ResolveThrow(IMemberRefResolver self, MemberRef memberRef) en e:\Source\Public\Confuser2\dnlib\src\DotNet\IResolver.cs:line 82 [...]

yck1509 commented 9 years ago

Should be fixed by bc34b13b07d8fb40703173215dbba270c762b3bb

Palollo commented 9 years ago

Yes, it is fixed. Splendid!