[Mono-bugs] [Bug 507863] New: Mono fails to compile an assembly using String.Empty for AssemblyKeyFile
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu May 28 12:21:37 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=507863
Summary: Mono fails to compile an assembly using String.Empty
for AssemblyKeyFile
Classification: Mono
Product: Mono: Compilers
Version: 2.0.x
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Minor
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: jdias at av.it.pt
QAContact: mono-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
I'll just paste the IRC log, it should be self-explanatory.
_aLfa_|work http://www.mibbit.com/pb/bbSVo8
16:44 _aLfa_|work Any idea why it won't compile?
16:44 _aLfa_|work This worked fine before I changed the namespace from
"gui" to "GCommunity"
16:45 _aLfa_|work I did a grep to find any left-over reference to "gui"
and there is none
16:46 *** lanwin quit (lanwin)
16:47 *** jstedfast is now known as jeff__
16:48 *** arnec joined #mono
16:49 SlikkTic wow thats a long compile line =O
16:51 _aLfa_|work You can discard 90% of it, lol
16:51 *** rcjsuen joined #mono
16:54 _aLfa_|work Can anyone help me? I don't want to make a new project
and copy paste all the code to it. |:
16:54 marek1 could you run in with --debug
16:54 _aLfa_|work Yes
16:55 marek1 I mean MONO_OPTIONS=--debug
16:55 _aLfa_|work o
16:55 _aLfa_|work sec
16:56 *** arnec quit (Read error: 104 (Connection reset by peer))
16:56 _aLfa_|work http://www.mibbit.com/pb/emJ8j8
16:56 *** ray joined #mono
16:57 *** arnec joined #mono
16:58 _aLfa_|work Or this one: http://www.mibbit.com/pb/db96Ed
16:59 *** bratsche joined #mono
17:00 marek1 hmm, that really didn't help
17:00 _aLfa_|work ):
17:00 marek1 which mono version? and what is inside assemblyinfo.cs
17:01 _aLfa_|work ono JIT compiler version 2.0.1 (tarball)
17:01 _aLfa_|work +M
17:01 *** spouliot is now known as spouliot_lunch
17:01 _aLfa_|work AssemblyInfo.cs: http://www.mibbit.com/pb/ubN3XI
17:02 marek1 could you try to compile without it
17:03 _aLfa_|work Yes
17:03 _aLfa_|work It worked
17:03 _aLfa_|work What the hell?
17:05 marek1 would you mind filling a bug report
17:05 _aLfa_|work Sure, no problem
17:06 _aLfa_|work Could you link me
17:06 kangaroo bugzilla.novell.com
17:06 _aLfa_|work Thank you
17:06 marek1 as a workaround, don't use String.Empty for AssemblyKeyFile
Reproducible: Always
Steps to Reproduce:
Set AssemblyKeyFile to String.Empy
Actual Results:
Mono fails the compilation with a null reference exception.
Expected Results:
It should have compiled it like it does if I set the value to "" instead.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list