[Mono-bugs] [Bug 546688] New: Improve error reporting when a resource file could not be found

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 13 17:59:42 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=546688


           Summary: Improve error reporting when a resource file could not
                    be found
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Ms.Build
        AssignedTo: marek.sieradzki at gmail.com
        ReportedBy: halfdan at halfdans.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=322369)
 --> (http://bugzilla.novell.com/attachment.cgi?id=322369)
Patch to improve error reporting

Description of Problem:

Currently you only get a weird stack trace when xbuild can not find one of the
files listed in a .resx file.

Steps to reproduce the problem:
1. Try building the My Nes project (http://mynes.sf.net) using xbuild My
Nes.sln
2. You are told that the resource file is invalid, when actually it was just a
file which could not be found.

Actual Results:
Weird stack trace which indicates that the .resx file is invalid.

Expected Results:
File not found "<filename>" or something similar.

How often does this happen? 
Every time, especially when trying to compile a visual studio generated file
since they use \ as a directory separator. I will add a bug with patch to fix
that next.

Additional Information:

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list