← Atrás

Обновление до 4.0.6 и .NET 4.0

LogManager.Listeners.Add(new ConsoleLogListener()); кидает исключение.

Attempt by security transparent method 'Ecng.Interop.WinApi.AllocateConsole()' to call native code through method 'Ecng.Interop.WinApi.AttachConsole(UInt32)' failed. Methods must be security critical or security safe-critical to call native code. NetFx40_LegacySecurityPolicy не помогает или я не правильно его использую

¿Le resultó útil este tema?

Compartir tema

Comentarios (2)

Iniciar sesión o Crear cuenta, Inicie sesión o regístrese para dejar un comentario

Alexander
Alexander

Обновил либы на codeplex, попробуйте из сорсов забрать

P.S. А теперь и перевыложил все сборки.

destr
destr
destr Autor

Всё ок. Спасибо.