MrAdvice
MrAdvice copied to clipboard
.NET aspect weaver (build task under NuGet package)
Hi! I have an existing .NET Core 3.1 project which I am trying to containerize via Linux docker containers, but it seems that I am not able to do so,...
After updating to version 2.9.2 I get this error Error Failed to resolve assembly: 'System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' Xamarin.Forms 5, .netstandard2.1, c#9
In a Xamarin.Android project the latest MrAdvice is failing to run. ``` 'AssemblyPath' is not recognized as an internal or external command, operable program or batch file. C:\xxxxxxx\packages\MrAdvice.2.9.5\build\MrAdvice.targets(14,5): error MSB3073:...
Hi, when MrAdvice is installed in: netcoreapp3.1 and an Aspect is active. no **LIVE** sourcecode changes are possible. Error: `CS7038 Failed to emit module 'ConsoleApp2': Changing the version of an...
First off, I have to congratulate you on a fantastic product. I just works great. I am using it to add an automatic logging feature to my logging framework. I...
Hi, we have another problem with try/catch aspect described here https://github.com/ArxOne/MrAdvice/issues/118 It just doesn't come to catch block in case when unhandeled exception occurs in "async void" method: ```c# public...
async void is the only signature supported for WinForm async event handlers and can't be changed to async Task. Is there a way to suppress this new warning? My logging...
Some more optimization thoughts (may be it's already possible, but I don't know how to achieve that). In my scenario the advice is applied on the complete assembly. I have...
Let's say we have a code like this : ``` [assembly: LogAdvice] [IncludePointcut("*Add")] public class LogAdviceAttribute : Attribute, IMethodAsyncAdvice { public async Task Advise(MethodAsyncAdviceContext context) { Console.WriteLint("Entry"); await context.ProceedAsync(); Console.WriteLint("Exit");...