-
Notifications
You must be signed in to change notification settings - Fork 111
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
[2.8.2][macOS] error AI_FAIL: Aspect Injector processing has failed #220
Comments
Hi, thank you for the report!
Would you be able to submit the whole build log or at other least parts
related to Aspect Injectior?
…On Thu, 13 Jul 2023, 09:02 Oleksandr Dobrynin, ***@***.***> wrote:
After update to 2.8.2 from version 2.8.1 cannot build my netstandard2.1,
getting error mentioned in title. In macOS
[image: image]
<https://user-images.githubusercontent.com/23138430/253099846-892c7b5f-02e4-4053-aa84-63f175286db8.png>
—
Reply to this email directly, view it on GitHub
<#220>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7HZUAB4BMMBJRT57FX6I3XP4GHVANCNFSM6AAAAAA2IAYFTY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
please let me know if 2.8.3-pre1 fixes it for you! |
the same |
I got the same error on windows |
The macOS 13.4 also had the same issue. The version of AspectInjector is 2.8.2. It works normally in the Docker container of X64. My MacBook is M2 Max and uses the ARM version of dotnet (6.0.413). |
My temporary solution is to use Docker (x86) debugging in Rider (through Rosetta 2), but this makes the debugging very slow each time. Is there any update on this issue? Thank you. |
Could you please use 2.8.1 while I'm fixing this?
Just to double check,
2.8.2 does not work for x86 and arm
and 2.8.1 does not work only for arm
Correct?
…On Wed, 23 Aug 2023, 03:02 Zony, ***@***.***> wrote:
My temporary solution is to use Docker (x86) debugging in Rider (through
Rosetta 2), but this makes the debugging very slow each time. Is there any
update on this issue? Thank you.
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7HZUBT43MBTDOWQKARI73XWTCW7ANCNFSM6AAAAAA2IAYFTY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Of course, I rolled back to version 2.8.1, and it is working correctly. |
Same issue |
@real-zony , @dartasen, @Alex-Dobrynin , |
Yes, 2.8.1 it works on mac m1 |
Hey guys, could you please try 2.8.3-pre2 ? |
|
do you use Rosetta ? |
when your method return is not [Advice(Kind.Around, Targets = Target.Method)]
public object OnEnter([Argument(Source.Name)] string name,
[Argument(Source.Arguments)] object[] args,
[Argument(Source.Type)] Type hostType,
[Argument(Source.Target)] Func<object[], object> target,
[Argument(Source.Triggers)] System.Attribute[] triggers)
{
var mutex = new Mutex(false, Name);
mutex.WaitOne();
var result = target(args);
mutex.ReleaseMutex();
return result;
} |
but while user use MVC , such error followed wont be shown.
thats unexpected. |
you can refer to demo for a success running. |
amazing , i move exactly same code into other project , same error occurred.
|
i think i found where problem is,see docs |
I'm experiencing the same issue. I'm on Apple Silicon, my coworker with Mac on Intel doesn't have this problem. Here is the detailed log:
|
I'm really sorry my Mac users, since I don't have it is hard to figure out what actually goes wrong. |
@pamidur FYI in 2.8.3-pre3 the problem persists Build log
|
can you try https://www.nuget.org/packages/AspectInjector/2.8.3-pre3#supportedframeworks-body-tab ? and see if it helps <PropertyGroup>
<AspectInjector_UseRosetta>true</AspectInjector_UseRosetta>
</PropertyGroup> to your csproj |
What do you mean by trying https://www.nuget.org/packages/AspectInjector/2.8.3-pre3#supportedframeworks-body-tab? To use
|
it is there just to test it. It seems like Rosetta is going to be a requirement and after the next release it is going to be the only supported option. I just can't make it run on apple silicon without rosetta without having actual mac :( |
Hey People! Install the terminal with Rosetta settings and this error will be gone after |
After update to 2.8.2 from version 2.8.1 cannot build my netstandard2.1 lib, getting error mentioned in title. In macOS
![image](https://private-user-images.githubusercontent.com/23138430/253099846-892c7b5f-02e4-4053-aa84-63f175286db8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4OTE4NTIsIm5iZiI6MTcyMzg5MTU1MiwicGF0aCI6Ii8yMzEzODQzMC8yNTMwOTk4NDYtODkyYzdiNWYtMDJlNC00MDUzLWFhODQtNjNmMTc1Mjg2ZGI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDEwNDU1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY0ZDU2YzUxMDliMzZhZjc0MTc3Y2YzMGFkNDU4YzAyYTRmMDcwZWQ3OTc4ODc3MGU4MGZhZTIzMDg5MmQ3MjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HAEQR3MZ9vXeJWlA5ChIJlNgD91Jwy_dmi3bLYYmpRU)
The text was updated successfully, but these errors were encountered: