[Mono-bugs] [Bug 55320][Nor] Changed - mcs only considers key file specified in AssemblyKeyFile as filename relative to local directory
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 email@example.com.
--- 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 @@
-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
Hope it helps.
+------- Additional Comments From firstname.lastname@example.org 2004-03-09 08:09 -------
+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.