c# - Error on DataContractAttribute, IExtensibleDataObject, ExtensionDataObject -



c# - Error on DataContractAttribute, IExtensibleDataObject, ExtensionDataObject -

i got error on win forms 'system.runtime.serialization.datacontractattrubute not defines' same 'iextensibledataobject, extensiondataobject'

i have next in app,

imports scheme imports system.runtime.serialization

what did was, have web service , want debug it, , easier in win form app. copied code , copied web reference.

i don't know why happens.

c# help welcome

you missing reference system.runtime.serialization (.net) assembly. add together project reference , should good.

you can see in documentation (msdn), datacontractattribute, extensiondataobject , iextensibledataobject defined in system.runtime.serialization.dll assembly.

http://msdn.microsoft.com/en-us/library/system.runtime.serialization.datacontractattribute.aspx http://msdn.microsoft.com/en-us/library/system.runtime.serialization.extensiondataobject.aspx http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iextensibledataobject.aspx

add project reference: go project properties, tab "references" , press "add", go tab ".net" , "system.runtime.serialization". should go.

c# vb.net winforms web-services

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -