Postsharp and Fody Compatibility

I am using the free PostSharp publication in the project. I would like to use PropertyChanged.Fody addin to automatically handle all PropertyChanged notifications.

(I know that PostSharp offers a library for this, but it is not free, so I would like to use Fody)

It seems that when I use both PostSharp and Fody in the project, the debug symbol files do not synchronize with the source code. When I debug the project, I can no longer correctly execute the code. This is similar to when you attach a debugger in VS to a process in which the source code is different from the original binary executable.

If I turn off PostSharp or Fody, debugging will start again again.

Can I use both PostSharp and Fody in one project? Does this require special / additional configuration?

+4
source share

All Articles