Skip to content

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

@bangyanli-webjet

Description

@bangyanli-webjet

Environment (please complete the following information):

  • OS: windows
  • Framework: net462
  • Type of application: webapp
  • Version of AspectInjector: 3.8.2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions