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.
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
Post a Comment