Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Surrogates: cannot convert to System.Runtime.Serialization.ISerializationSurrogate

$
0
0
selector.AddSurrogate(typeof(Vector3), new StreamingContext(StreamingContextStates.All), vector3Surrogate); the last part, "vector3Surrogate" is marked as an error saying, "cannot convert from 'Vector3SerrializationSurrogate' to 'System.Runtime.Serialization.ISerializationSurrogate.'" Does anybody know what the problem could be? I am totally new to Serialization so it could be something fairly basic. https://www.youtube.com/watch?v=5roZtuqZyuw Here is the video tutorial I am following if it helps.

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>