Closed Leogiciel closed 7 years ago
I'm working on it, and I'll send you a pull request.
Using Assembly.LoadFile is dangerous, the file will be locked by the VS process forever. I have refactored it using Mono.Cecil (https://github.com/tom-englert/Wax/commit/d36a782b7ffb5d25f897262b4458c14779e02e14)
Nice ! Thank you for the tip, I didn't know about Cecil, it looks amazing !
I use this nuget package which delivers four dlls but references only the top two of them in the csproj. (see my post on SO explaining this behaviour).
VS and MSbuild both do right at compilation, detecting references from other two libraries and resolving them because they are on the same folder (according to this post ) and the four libraries are in the bin folder.
Wax doesn't detect them, and I understand that's because it's based on csproj file, but if MSBuild can do it maybe we can too ?
Regards