CInject always injecting all methods

Jun 11, 2013 at 4:30 PM
I did a LogInject only to the methods of the App class of a WPF application. Unfortunately CInject wrote logging code to each and every method of my assembly. I used ILSpy to check,

How can I convince CInject to inject just the methods I checked in the Target Assemblies treeview?

TIA,

Markus
Coordinator
Jun 11, 2013 at 11:26 PM
Jun 12, 2013 at 8:58 AM
Sorry, my fault. The assembly I used for testing wasn't clean but already injected by CInject. I rebuilt the assembly and used CInject on the new assembly. Now it works as expected. I.e., only the methods I checked were injected.
Coordinator
Jun 12, 2013 at 9:03 AM
Excellent, good to know that!