Error: "You must add a Reference to Assembly 'System.Runtime.Serialization'"

Asked

Viewed 734 times

6

I’m making this mistake:

ERRO

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.

  • You have already added a reference to Assembly mentioned in the error?

  • I tried to add the "System.Runtime.Serialization" but I did not succeed, it says: Serialization is not an attribute class.

  • 1

    How are you trying to add this Assembly? @Vinicius

1 answer

1


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.

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.