Skip to content
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

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

Open
Dorin-Mocan opened this issue Jan 13, 2025 · 0 comments
Labels

Comments

@Dorin-Mocan
Copy link

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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant