On 06.04.2011 17:33, Leonel Florin Selles wrote:
> I have put the [Serializable] attribute on the class but I steel get this
>
> Details :
>
> System.IO.FileNotFoundException has been thrown
> "Could not load file or assembly 'cliente' or one of this dependencies.
> The system cannot find the file specified."

This usually means that you have 2 implementations of these
classes, one in the server and one in the client, like this:

gmcs server.cs shared.cs
gmcs client.cs shared.cs

You want to extract these classes into a shared assembly,
otherwise the types won't be treated as compatible:

gmcs /target:library shared.cs
gmcs /r:shared.dll server.cs
gmcs /r:shared.dll client.cs

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to