зеркало из https://github.com/mono/mail-archives.git
107 строки
4.9 KiB
HTML
107 строки
4.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075246%5D%5BNor%5D%20Changed%20-%20KeyPair%20of%20AssemblyName%20used%0A%09to%20create%20assembly%20has%20no%20effect%20on%20AssemblyName%20of%20AssemblyBuilder&In-Reply-To=bug-75246%40chernobyl.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="030380.html">
|
|
<LINK REL="Next" HREF="030382.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder</H1>
|
|
<B>bugzilla-daemon at bugzilla.ximian.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075246%5D%5BNor%5D%20Changed%20-%20KeyPair%20of%20AssemblyName%20used%0A%09to%20create%20assembly%20has%20no%20effect%20on%20AssemblyName%20of%20AssemblyBuilder&In-Reply-To=bug-75246%40chernobyl.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder">bugzilla-daemon at bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Mon Jun 13 16:02:03 EDT 2005</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="030380.html">[Mono-bugs] [Bug 75254][Nor] Changed - Palette Patch breaks Icons
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030382.html">[Mono-bugs] [Bug 75254][Nor] Changed - Palette Patch breaks Icons
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30381">[ date ]</a>
|
|
<a href="thread.html#30381">[ thread ]</a>
|
|
<a href="subject.html#30381">[ subject ]</a>
|
|
<a href="author.html#30381">[ 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="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75246">http://bugzilla.ximian.com/show_bug.cgi?id=75246</A>
|
|
|
|
--- shadow/75246 2005-06-13 15:07:22.000000000 -0400
|
|
+++ shadow/75246.tmp.25044 2005-06-13 16:02:03.000000000 -0400
|
|
@@ -81,6 +81,37 @@
|
|
split the tests.
|
|
|
|
------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">sebastien at ximian.com</A> 2005-06-13 15:07 -------
|
|
Created an attachment (id=15320)
|
|
bug75246.diff
|
|
|
|
+
|
|
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be</A> 2005-06-13 16:02 -------
|
|
+Sebastien,
|
|
+
|
|
+Not sure if I'll have time to look into it today, but here's already
|
|
+a little feedback on your first remark:
|
|
+
|
|
+For a "manually" instantiated AssemblyName, MS.NET returns NULL for
|
|
+GetPublicKey and GetPublicKeyToken (unless these have been explictly
|
|
+set using SetPublicKey/SetPublicKeyToken, I assume).
|
|
+
|
|
+For an AssemblyName constructed from AssemblyBuilder or for a
|
|
+previously emitted assembly, MS.NET 1.x returns NULL for
|
|
+GetPublicKey and GetPublicKeyToken if the assembly is not signed.
|
|
+MS.NET 2.0 returns a zero-length byte array in this case.
|
|
+
|
|
+I think, we really need to make a difference between
|
|
+- an AssemblyName that is constructed "manually"
|
|
+- an AssemblyName for an AssemblyBuilder
|
|
+- an AssemblyName for a previously emitted assembly
|
|
+
|
|
+and in some cases we need to have a different behaviour depending on
|
|
+the profile (1.x/2.0).
|
|
+
|
|
+I'd be happy to assist in creating unit tests and modifications in
|
|
+managed code, but I'm not enough familiar with the runtime (and I'm
|
|
+afraid most of the work must be done there).
|
|
+
|
|
+Note: I have not verified this yet !! But I'm pretty sure lots (?)
|
|
+of our AssemblyName tests (if they're not disabled)fail on MS.NET
|
|
+1.x (and definitely on 2.0)
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="030380.html">[Mono-bugs] [Bug 75254][Nor] Changed - Palette Patch breaks Icons
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030382.html">[Mono-bugs] [Bug 75254][Nor] Changed - Palette Patch breaks Icons
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30381">[ date ]</a>
|
|
<a href="thread.html#30381">[ thread ]</a>
|
|
<a href="subject.html#30381">[ subject ]</a>
|
|
<a href="author.html#30381">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|