just add:

add System.Runtime.Serialization in references

Advertisements