1

Closed

Create the class for basic element that have not any sub element or attribute

description

Your app don't create the class for basic element that have not any sub element or attribute

I have got this for in my root element

 
[
ConfigurationProperty("dataDir")]
 
public virtual DataDirElement DataDir {
 
get {
 
return ((DataDirElement)(base["dataDir" ]));
 
}
 
}

The problem is that the class
DataDirElement doesn't exist


the xml must be like this

<rootelement>
<dataDir>c:\myfolder</dataDir>
</rootelement>
Closed Nov 28, 2007 at 7:47 PM by yura_silver

comments