-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aspect Injector processing has failed (v2.8.0), Mono.Cecil.Cil.SymbolsNotFoundException #200
Comments
Hi @minchili , thank you for the report, I'll look at it shortly. |
ClassLibrary1.zip |
What IDE you use? I didn't manage to reproduce it on VS2022 |
I use VS2022 too, this is my IDE info. |
Hi, we've have the same issue here. We have a workaround to compile. @pamidur could you address this issue? We have to maintain the configuration of pdb to "full" here. |
@leandrogomes777 thank you for the input. It is definitely an issue with PDB type and Mono.Cecil |
@leandrogomes777 @minchili |
Hi @pamidur, i've made tests with the 2.7.2 version and no issues. |
Ok so I found a root cause - over-optimization while compiling for self-contained image Thank you @leandrogomes777 , @minchili |
Environment (please complete the following information):
OS: Windows 10 64 bit
Framework: .Net Framework 4.7.2, C# 8.0
Type of application: dll / Console
Version of AspectInjector: 2.8.0
Describe the bug
When I create the project and install Aspect Injector and then build I get the following error:
(The project has not even written any code, it is just a simple build.)
Error1: Aspect Injector processing has failed. See other errors.
Error2: Processing failure: Mono.Cecil.Cil.SymbolsNotFoundException: No symbol found for file: C:\Users**\Repositories\Samples\AOP\ClassLibrary1\obj\Debug\ClassLibrary1.dll
The text was updated successfully, but these errors were encountered: