Closed dayang closed 4 years ago
Hi, yes, this is a limitation becaure mr advice loads the assembly in its own space, in order to invoke the weaving advices. Right now the only solution is to switch to Any CPU, but since you haven’t I guess this is not possible in your case?
Thanks,my project has to invoke native c dlls,so I'll try to find how to load different platform dlls with Any CPU.
I write a class which implements IMethodWeavingAdvice,when I build to x64,I get error as follow,but it's ok in x86 and anycpu。I can't figure out why,please help me