Closed wabluk closed 1 month ago
As documented, the [IntroduceDependency]
attribute only works on fields and autoproperties, so you can't have it on your GetArtikelID
method. It's not clear to me what you expect that to do, so I can't suggest what you should do instead.
I am going to improve the code, so that doing this produces a clear error message instead of the confusing exception you got.
The problem was a missing Reference to a dll which was not needen with PostSharp. Thanks!
I'm glad that you resolved your issue.
I get the following Error when i use my Aspect:
Here is my Aspect Code:
Usage: