I'm trying to develop a custom evidence class. I'm stuck with this problem. as long the custom class has no membership condition i can load the xml with the IMembershipcondition fine. (quite unuseful ) then i tried to have a simple member condition as a string (mycondtion). I put a property get set mycondition as string, a contructor accepting a string and added the memebership condtion inthe XML file.
mycondition="acondition". the .net framework configuration tool complains saying the xml is invalid. the point i don't understand is how should express the memebership condition in the file. i noted that: 1) If I keep the class with property and constructor but remove the attribute in the xml file it complains as well, it looks like it makes some reflection then. 2) attribute in the xml file and property do not need to match (see ZoneMembershipcondition; it has the ZOneAttribute property , but the attribute in the file is Zone. buil-in classes 3) I'v tried using a naming convention. the class calling the class xxxMyMembershipcondition and providing a an xml file where the attribute was xxx .. (this seems to be the naming convention of built-in memebership condition classes. no way , any idea ? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.