DataMember could not be found

前端 未结 2 989
旧时难觅i
旧时难觅i 2021-02-16 00:15

As I have done my research regarding this problem of mine, I still have no luck in solving my error of Error 1 The type or namespace name \'DataMember\' could not be

相关标签:
2条回答
  • 2021-02-16 00:20

    Remove System.Runtime.Serialization from code, then add from menu > Project > Add reference ..> . Then again add into code. it works.

    0 讨论(0)
  • 2021-02-16 00:28

    I have solved the problem. I just removed the System.Runtime.Serialization in the references in the project explorer and affffded it by browsing then it worked. Weird.

    0 讨论(0)
提交回复
热议问题