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

The "AspectInjectorTask" task could not be loaded from the assembly AspectInjector #240

Open
KKacer opened this issue Mar 5, 2025 · 0 comments

Comments

@KKacer
Copy link

KKacer commented Mar 5, 2025

I tried to change everything to just target .Net 9.0 and getting this error when I build the solution:

The "AspectInjectorTask" task could not be loaded from the assembly D:\aspect-injector-master\aspects../src/AspectInjector/bin/Debug/net9.0/AspectInjector.dll. Could not load file or assembly 'System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant