class - Windows Phone Classes with same name but different folders -
i have 2 auto-generated classes generated xsd tool.
the classes have same name , similar member variables.
but many of members different.
i storing these classes in different folders. there still conflict - this
the type 'response' contains definition 'field1'
how store these classes avoid conflict??
i don't want change in classes auto-generated , changing them might cause xml parsing errors
the classes have structure below:-
public partial class response { public string field1; public string field2; public string field3; } public partial class response { public string field1; public string field2; public string field4; }
the classes stored follows
myproject->classes->folder1->class1
myproject->classes->folder2->class2
if entire class autogenerated visual studio (and not touched/moved afterwards), classes have different namespaces namespaces derived folder names. different namespaces shouldn't have conflicts. if xsd tool doesn't work way, need manually adjust namespace names or class names.
Comments
Post a Comment