Error with System.Runtime.Serialization

Thursday, February 7, 2013
Avatar
Hello!

I'm developing a class in which I need to use the reference
"System.Runtime.Serialization".

We've included the references, but I still get the following error:

Error CS0234: The type or namespace name `ExtensionDataObject' does not exist in the namespace `System.Runtime.Serialization'. Are you missing an assembly reference?

class code is:

using System;
using UnityEngine;
using System.Runtime.Serialization;

public class SpiraClient : MonoBehaviour {

private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
public SpiraClient () 
{
}
public void mostrar()
{
Debug.Log("TEST);
}

}

3 Replies
Friday, February 8, 2013
Avatar
re: jdurand Thursday, February 7, 2013

This is a bit outside of our experience, can anyone help Jose?

Regards

Adam

Friday, February 8, 2013
Avatar
re: jdurand Thursday, February 7, 2013
On the surface it sounds like you need to add a reference to a missing .NET DLL.
Friday, February 8, 2013
Avatar
re: inflectra.david Friday, February 8, 2013
Thanks for your response.  The reference is already added in the code (using System.Runtime.Serialization) and is also added to the list of project references.
I do not know the reason for this error

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, February 7, 2013
  • Last Reply: Friday, February 8, 2013
  • Replies: 3
  • Views: 2933