H
Hugh Janus
OK, I am trying to serialise an XML file. I have added the schema to
my project and run the below command.
xsd XMLFile.xsd /classes /language:vb /namespace:XMLFile
When I open the outputted .vb file in VS 2005 I get the following error
"Type 'System.SerializableAttribute' is not defined." on the line:
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42"),
_
System.SerializableAttribute(), _
This works on the 'normal' framework but I am programming using the
compact framework. I don't know if the class is missing, is in a
different place or what. Anyone know how to fix this? I am using VB
2005.
Thanks,
Hugh
my project and run the below command.
xsd XMLFile.xsd /classes /language:vb /namespace:XMLFile
When I open the outputted .vb file in VS 2005 I get the following error
"Type 'System.SerializableAttribute' is not defined." on the line:
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42"),
_
System.SerializableAttribute(), _
This works on the 'normal' framework but I am programming using the
compact framework. I don't know if the class is missing, is in a
different place or what. Anyone know how to fix this? I am using VB
2005.
Thanks,
Hugh