mail-archives/mono-bugs/2004-June/017181.html

89 строки
3.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 58608][Nor] Changed - Sending a Signed Assembly using Remoting causes a Serialization Exception
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="017180.html">
<LINK REL="Next" HREF="017182.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 58608][Nor] Changed - Sending a Signed Assembly using Remoting causes a Serialization Exception
</H1>
<B>bugzilla-daemon@bugzilla.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
TITLE="[Mono-bugs] [Bug 58608][Nor] Changed - Sending a Signed Assembly using Remoting causes a Serialization Exception">bugzilla-daemon@bugzilla.ximian.com
</A><BR>
<I>Thu, 10 Jun 2004 13:36:02 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="017180.html">[Mono-bugs] [Bug 59674][Cri] Changed - eBay SOAP client built with csc works; same code kerplodes when built with mcs
</A></li>
<LI> Next message: <A HREF="017182.html">[Mono-bugs] [Bug 59880][Nor] Changed - Parsing file which refers to xml: namespace throws exception
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17181">[ date ]</a>
<a href="thread.html#17181">[ thread ]</a>
<a href="subject.html#17181">[ subject ]</a>
<a href="author.html#17181">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:lluis@ximian.com.">lluis@ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=58608">http://bugzilla.ximian.com/show_bug.cgi?id=58608</A>
--- shadow/58608 2004-06-08 21:29:55.000000000 -0400
+++ shadow/58608.tmp.18758 2004-06-10 13:36:02.000000000 -0400
@@ -912,6 +912,25 @@
at RemotingTest.RemotingClient.Main() in
c:\amadeus\dev\mono\assmblytest\asse
mblytest\remotingclient\remotingclient.cs:line 52
###################################
Done. Press Enter to exit.
+
+------- Additional Comments From <A HREF="mailto:lluis@ximian.com">lluis@ximian.com</A> 2004-06-10 13:36 -------
+Ok, I think I found the issue. This is not a bug. The problem is the
+following declaration:
+
+[assembly: AssemblyVersion(&quot;1.0.*&quot;)]
+
+It means that every time you compile the assembly, it will get a new
+version number. If you compile the xfer assembly both in Windows and
+in Linux, you'll get the same assembly, but with two different
+versions. Even if you use the same key, the strong name will be
+different. And that's why the system can't find the assembly, because
+the copy it has has a different strong name.
+
+To fix this just remove the &quot;*&quot; and add a complete version number. Or
+compile the assembly only once and copy the same over all systems.
+
+Can you please confirm that this is the problem?
+
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="017180.html">[Mono-bugs] [Bug 59674][Cri] Changed - eBay SOAP client built with csc works; same code kerplodes when built with mcs
</A></li>
<LI> Next message: <A HREF="017182.html">[Mono-bugs] [Bug 59880][Nor] Changed - Parsing file which refers to xml: namespace throws exception
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17181">[ date ]</a>
<a href="thread.html#17181">[ thread ]</a>
<a href="subject.html#17181">[ subject ]</a>
<a href="author.html#17181">[ author ]</a>
</LI>
</UL>
</body></html>