[Mono-bugs] [Bug 55320][Nor] Changed - mcs only considers key file specified in AssemblyKeyFile as filename relative to local directory
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 9 Mar 2004 08:09:34 -0500 (EST)
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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=55320
--- shadow/55320 2004-03-08 16:09:46.000000000 -0500
+++ shadow/55320.tmp.31441 2004-03-09 08:09:34.000000000 -0500
@@ -11,13 +11,13 @@
AssignedTo: mono-bugs@ximian.com
ReportedBy: gert.driesen@pandora.be
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: mcs search filename in AssemblyKeyFile in local directory
+Summary: mcs only considers key file specified in AssemblyKeyFile as filename relative to local directory
mcs resolves the filename specified in the AssemblyKeyAttribute assembly
attribute relative the current directory instead of the directory in which
the output file is generated.
To reproduce this issue :
@@ -77,6 +77,21 @@
So it looks like the compiler first attempts to lookup the key in
current directory, and when it's not found it attempts an
output-directory-based lookup.
Hope it helps.
+
+------- Additional Comments From gert.driesen@pandora.be 2004-03-09 08:09 -------
+Jarek,
+
+You are indeed correct, csc first resolves the filename specified in
+the AssemblyKeyFile attribute relative to the current directory, and
+then relative to the directory of the output file.
+
+So, mcs should be changed to also combine the filename specified in
+the AssemblyKeyFile attribute with the directory of the output file.
+
+I updated the summary of the bug report accordingly. But the repro I
+described still holds up.
+
+Thanks for correcting me.