Quantcast
Channel: Managed Extensibility Framework
Viewing all articles
Browse latest Browse all 265

New Post: MEF with PostSharp

$
0
0

Hi,

I'm having a problem using PostSharp and MEF together. I have a MEF export that has a reference to an Assembly that is process by PostSharp. When I try to run the application I got an exception trying to load the assembly that is processed by PostSharp. If I disable PostSharp everything works fine. I try to use the FusionLogViewer but the only thing that I see that could help explain the error is that when using PostSharp I get this line on the log: "LOG: This bind starts in default load context." while with PostSharp disabled I get this line "LOG: This bind starts in LoadFrom load context.".

I have the extension assembly and its references in a sub folder of the application.

 

Any help would be appreciated,

Thanks in advance,

Nuno Pereira


Viewing all articles
Browse latest Browse all 265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>