Error: "You must add a Reference to Assembly 'System.Runtime.Serialization'"
Asked
Viewed 734 times
6
I’m making this mistake:
The type 'System.Runtime.Serialization.Iextensibledataobject' is
defined in an Assembly that is not referenced. You must Adda Reference
to Assembly 'System.Runtime.Serialization,
Version=3.0.0.0,Culture=neutral,Publickeytoken=b77a5c561934e089
How can I fix it?
Copy the error text and paste it directly into the question, it is easier to view.
– user28595
You have already added a reference to Assembly mentioned in the error?
You tried to add it like that? I was with that same error, dai add her by right clicking on Ference in the project that was giving error and worked normal.
Copy the error text and paste it directly into the question, it is easier to view.
– user28595
You have already added a reference to Assembly mentioned in the error?
– carlosfigueira
I tried to add the "System.Runtime.Serialization" but I did not succeed, it says: Serialization is not an attribute class.
– user39571
How are you trying to add this Assembly? @Vinicius
– Jéf Bueno