https://bugzilla.novell.com/show_bug.cgi?id=430270


           Summary: Using CSharpCodeProvider without having the 'mono-gmcs'
                    package installed throws confusing exception
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


The exception thrown when CSharpCodeProvider can't find 'gmcs' is confusing -
it's a Win32Exception with internal error code 2 (but it doesn't tell you which
file is actually missing).

Would it be possible to throw a more meaningful exception here? If mono depends
on a package that isn't installed, could it not throw a FileNotFoundException,
also giving the name of the package that is missing?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to