Skip to content

AspectInjector : error AI_ERR0: Aspect Injector cannot re-sing assembly. Try rebuid solution #239

@Dorin-Mocan

Description

@Dorin-Mocan

Environment (please complete the following information):

  • OS: linux
  • Framework: net8.0
  • Type of application: webapp
  • Version of AspectInjector: 2.8.2

Describe the bug
I have an ASP.NET Web API project in the solution which must be signed. The csproj file contains this configuration:
True
False
MyKey.snk

When I try to publish the app, I get the error "AspectInjector : error AI_ERR0: Aspect Injector cannot re-sing assembly. Try rebuid solution"

To Reproduce

  • mkdir publish
  • dotnet publish -c Release -p:DebugType=None -r "win-x64" --self-contained false My.sln -o publish/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions