Bug 314588 (MONO58128) - mcs in beta1 version couldn't find assembly references
Summary: mcs in beta1 version couldn't find assembly references
Status: RESOLVED MOVED
Alias: MONO58128
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Blocker
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 15:19 UTC by Ricardo Varela
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:36:25 UTC


---- Reported by phobeo@sugus.eii.us.es 2004-05-06 08:19:25 MST ----

Please fill in this template when reporting a bug, unless you know what 
you are doing.
Description of Problem:

I've just deinstalled and reinstalled mono beta 1 on an XP machine. mcs 
worked fine in the first installation but in this seconf installation, 
whenever you try to invoke it it fails with error msg:

C:\Documents and Settings\phobeo>mcs

** (C:\Program Files\Mono-Beta1\lib\mono\1.0\mcs.exe:1448): WARNING **: 
Could no
t find assembly System, references from C:\Program Files\Mono-Beta1
\lib\mono\1.0
\mcs.exe (assemblyref_index=1)
     Major/Minor: 1,0
     Build:       5000,0
     Token:       b77a5c561934e089


Unhandled Exception: System.NullReferenceException: Object reference not 
set to
an instance of an object


Steps to reproduce the problem:
1. Install mono-beta1 from Windows installer in the downloads page
2. Unistall it
3. Reinstall again with the installer exe
4. Try to execute mcs

Actual Results:
the error msg shown above

Expected Results:
the traditional "no files specified" message of mcs


How often does this happen? 
always

Additional Information:



---- Additional Comments From chapeaurouge@madpenguin.org 2004-05-07 13:05:46 MST ----

I seem to have the same issue on linux slackware, except for System:

fblaise@lap:~/CVSROOT/mono/test$ mcs heyhey.cs
heyhey.cs(4) error CS0246: The namespace `GtkSharp' can not be found
(missing assembly reference?)
    Try using -r:gtk-sharp
Compilation failed: 1 error(s), 0 warnings



---- Additional Comments From phobeo@sugus.eii.us.es 2004-05-07 13:10:59 MST ----

chapeaurouge@madpenguin.org: it's not the same problem

In your case, it only means you're trying to build a gtk-sharp 
dependent progarm without including the gtk-sharp reference

Issuing a: mcs -r:gtk-sharp heyhey.cs
should work



---- Additional Comments From chapeaurouge@madpenguin.org 2004-05-07 14:47:10 MST ----

Thank you Ricardo, I just realized that.
However, I now have a pb with the Gnome assembly... :S I tried the -r
deal with Gnome, but it didn't work:

ellipse.cs(5) error CS0246: The namespace `Gnome' can not be found
(missing assembly reference?)
Compilation failed: 4 error(s), 0 warnings

I do not want to clutter this bug with unrelated stuff, so I will not
post here anymore... but you can email me directly if you want ;) 

Thanks :)

...chap





---- Additional Comments From tberman@gentoo.org 2004-05-08 05:00:51 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO58223 ***


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>xp</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"