Closed GoogleCodeExporter closed 9 years ago
Unfortunately, this is directly due to the fact that the Common.Logging library
does not currently support partial trust callers. It is strongly named, and
thus demands Full Trust by default. I checked the Git repository for the
project, and it appears that the AllowPartiallyTrustedCallers assembly
attribute has been added to the code-base. However, no new official release has
been provided since that attribute made its way in. Once a new release becomes
available, I'll integrate it to this project, and this module should once again
work under Medium Trust.
I've sent a message to the Common.Logging owner, inquiring about such an
official release. I'll keep you posted as I learn news.
Original comment by vent...@gmail.com
on 22 Mar 2012 at 2:39
The Common.Logging project owner replied to me today. He confirmed what I saw
in the latest code; AllowPartiallyTrustedCallers has been added at the assembly
level. He is thinking the next official Nuget package will be release
approximately mid-April. I will watching for that update, so I can integrate it
into this library and get past this Medium Trust issue once again.
Original comment by vent...@gmail.com
on 23 Mar 2012 at 12:37
Well, Common.Logging v2.1 is out now. However, it targets .NET Framework v3.5
and v4.0. It no longer supports .NET Framework v2.0, which this module targets.
Therefore, in order to continue targeting .NET 2.0, to support medium trust,
and to provide a way to log what's going on inside Security Switch, changes had
to be made.
Common.Logging is no longer a dependency. A simple [Logging logging mechanism]
is now offered. Medium Trust should be possible once again as well.
Original comment by vent...@gmail.com
on 16 Jun 2012 at 6:28
Original issue reported on code.google.com by
colinbmc...@gmail.com
on 19 Mar 2012 at 2:54