how can i mark class serializable defined in silverlight project. i m trying to add assembly reference of using System.Runtime.Serialization but still its not allowing me to mark a class serializable
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you just trying to attribute your type with theSerializableattribute?That exists in the
Systemnamespace rather thanSystem.Runtime.Serialization. Have you imported theSystemnamespace? See SerializableAttribute classUnless I’ve missed something, in which case your question probably needs more detail.
Edit: See this question about Serialization in Silverlight 4