pamidur / aspect-injector

AOP framework for .NET (c#, vb, etc)
Apache License 2.0
742 stars 111 forks source link

System.InvalidOperationException: Aspect doesn't have global singleton injected #232

Open bangyanli-webjet opened 2 months ago

bangyanli-webjet commented 2 months ago

Environment (please complete the following information):

Describe the bug intermittent issue from msbuild 96MSBuild version 17.9.5+33de0b227 for .NET Framework [97]AspectInjector|2.8.2 : error AI_ERR0: Processing failure: System.InvalidOperationException: Aspect doesn't have global singleton injected. [abc.csproj] [98]AspectInjector : error AI_FAIL: Aspect Injector processing has failed. See other errors. [abc.csproj] [99]Error: 5/28/2024 3:11:32 AM: [100]At C:\src\buildsystem\psake2019\public\Exec.ps1:80 char:17 + throw "Exec: $errorMessage" + ~~~~~~~ [<<==>>] Exception: Exec: Error executing command msbuild $solutionpath -m /p:configuration=$buildconfiguration /p:platform=$buildplatform /p:visualstudioversion=$visualstudioversion /verbosity:quiet /consoleloggerparameters:errorsonly.