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


Обновление до 4.0.6 и .NET 4.0
Atom
11/27/2011


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

Quote:
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 не помогает или я не правильно его использую

Tags:


Thanks:


Alexander

Avatar
Date: 11/27/2011
Reply


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

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

destr

Avatar
Date: 11/27/2011
Reply


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


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy