Re: ADO.NET Appender and FX 4.0

2011-08-20 Thread Stefan Bodewig
On 2011-08-20, Roy Chastain wrote: >> I should add that NAnt.exe.config contains >> >> and seems to need it. This may complicate things even further. > See this http://msdn.microsoft.com/en-us/library/dd409253.aspx Yes, I knew that, I should have elaborated more. > My gut says that thi

RE: ADO.NET Appender and FX 4.0

2011-08-20 Thread Roy Chastain
>I should add that NAnt.exe.config contains > >and seems to need it. This may complicate things even further. See this http://msdn.microsoft.com/en-us/library/dd409253.aspx My gut says that this setting is a BAD thing. 1) - It is a RUNTIME not COMPILE time setting. If code for legacy se

Re: ADO.NET Appender and FX 4.0

2011-08-19 Thread Stefan Bodewig
On 2011-08-19, Roy Chastain wrote: > I have done some research this morning, and have found a couple of > articles suggesting "fixes", but I do not yet understand the > ramifications. This is all to do with a new code security model created > in 4.0 and it is going to take time to understand. >

Re: ADO.NET Appender and FX 4.0

2011-08-19 Thread Stefan Bodewig
On 2011-08-19, Roy Chastain wrote: > While, this is certainly a problem, it SHOULD not be the issue already > reported, because those reports were against log4Net running on the 2.0 > CLR instead of the 4.0 CLR. OK. > I have done some research this morning, and have found a couple of > articles

RE: ADO.NET Appender and FX 4.0

2011-08-19 Thread Roy Chastain
an Bodewig [mailto:bode...@apache.org] Sent: Thursday, August 18, 2011 23:41 To: log4net-dev@logging.apache.org Subject: ADO.NET Appender and FX 4.0 Hi, Roy said in some thread people had reported problems with the ADO.NET appender when running on .NET 4.0. I managed to get to the point where NAn

ADO.NET Appender and FX 4.0

2011-08-18 Thread Stefan Bodewig
Hi, Roy said in some thread people had reported problems with the ADO.NET appender when running on .NET 4.0. I managed to get to the point where NAnt at least tries to run the unit tests on 4.0 and this is what I see: Unhandled Exception: System.TypeLoadException: Inheritance security rules vio