Closed LaborJos closed 4 years ago
Hi, Wow, this is new generic-related bug. I thought they were fixed long ago. Thanks for the report. I'll be looking at it soon.
Hi, Wow, this is new generic-related bug. I thought they were fixed long ago. Thanks for the report. I'll be looking at it soon.
@pamidur I have confirmed that no errors occur in VS 2019.
Thank you for checking. I'm going to look into this bug as soon I return from vacation. Sorry for the delay.
I'm still working on it at this bug seem to be deeper than I thought. So it take time to fix it. Until then the workaround would be to used Scope.Global for your aspects
Thanks for this amazing tool. We are using Scope Global for now. We would make good use of the ability to do per instance for generic classes also!
Blocked by https://github.com/jbevain/cecil/issues/639
Fixed in https://github.com/pamidur/aspect-injector/releases/tag/2.2.7 @ColmBhandal you should be able to use Scope PerInstance now Sorry for such a long delay, the issue drills down to how (not obvious) mono.cecil works sometimes.
Thanks!
On Sat, 18 Jan 2020, 22:22 Oleksandr Hulyi, notifications@github.com wrote:
Fixed in https://github.com/pamidur/aspect-injector/releases/tag/2.2.7 @ColmBhandal https://github.com/ColmBhandal you should be able to use Scope PerInstance now Sorry for such a long delay, the issue drills down to how (not obvious) mono.cecil works sometimes.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pamidur/aspect-injector/issues/97?email_source=notifications&email_token=ADMQGKLQ3ZLWGYOCM7NHV7LQ6N6LJA5CNFSM4IAOF4NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJKDIBQ#issuecomment-575943686, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMQGKK3DS5YNC4XQ7P275DQ6N6LJANCNFSM4IAOF4NA .
Exception Message
Code
Generic parameters are not used. However, the above error occurs.