I was wandering why this library is using [assembly:SecurityTransparent] because it gives me the following error when starting an ASP.NET MVC 5 application:
Attempt by security transparent method 'Unity.Microsoft.Logging.LoggingExtension..ctor(Microsoft.Extensions.Logging.ILoggerFactory)' to access security critical type 'Microsoft.Extensions.Logging.ILoggerFactory' failed
Hi,
I was wandering why this library is using [assembly:SecurityTransparent] because it gives me the following error when starting an ASP.NET MVC 5 application:
Attempt by security transparent method 'Unity.Microsoft.Logging.LoggingExtension..ctor(Microsoft.Extensions.Logging.ILoggerFactory)' to access security critical type 'Microsoft.Extensions.Logging.ILoggerFactory' failed
Regards,
Emanuel