autofac / Autofac.ServiceFabric

Autofac integration for Azure Service Fabric. Provides service factory implementations for Actors, Stateful Services and Stateless Services.
MIT License
26 stars 27 forks source link

Message "Access is denied #49

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi,

My stateless service is Internal. I have added the following on top of my namespace: [assembly: InternalsVisibleTo(InternalsVisible.ToDynamicProxyGenAssembly2)] However, I get following error message: Message "Access is denied: 'xxx" string

I do not want to make my classes public. I would like to follow C# convention and make them Internal as I'm supposed to.

Thanks, Marty