I have compiled the current version of the library with the
Microsoft.NET Framework 4.0 compiler and received the following
runtime error when attempting to execute som library functions:
Inheritance security rules violated while overriding member:
accessibility of the overriding method must match the security
accessibility of the method being overriden.
After searching for information, I found a tip about adding the
following line to clients/cs/src/AssemblyInfo.cs:
This solved the problem.
However, the addition of that line effectively turns on some sort of
backwards-compatibility mode, and it may therefore be inappropriate to
include it into the GData .NET library. I have not made any attempts
to understand the underlying cause of the error, or whether it is even
possible to correct it without using objects or language constructs
that are unique to .NET 4.0. But if nothing else, it may be a good
idea to have some "#if" conditionals with code to make the code work
Just an idea, in case someone knows enough about this issue to be able
to fix it reasonably easily...