https://bugzilla.novell.com/show_bug.cgi?id=643660
https://bugzilla.novell.com/show_bug.cgi?id=643660#c0 Summary: Make VS Errors Useful Classification: Mono Product: MonoDroid Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Tools AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Consider the following scenario; in VS, start with the default template, then create a Resources\menu directory, and add a Resources\menu\mainmenu.xml file. Paste the following contents: <?xml version="1.0" encoding="utf-8" ?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/new_game" android:icon="@drawable/icon" android:title="@string/mnuAbout" /> <item android:id="@+id/quit" android:icon="@drawable/back" android:title="@string/mnuQuit" /> </menu> Build. The result is a bunch of errors. The problem is determining what those errors are. The VS Error List says: Error 1 System.InvalidOperationException: Command failed. Command: C:\android-sdk-windows\platforms\android-8\tools\aapt "package" "-M" "C:\Users\krli.OFFICE\AppData\Local\Temp\palgunud.ylb\AndroidManifest.xml" "-F" "C:\Users\krli.OFFICE\AppData\Local\Temp\palgunud.ylb\resources.apk" "-S" "c:\workproj\MonoDroidApplication1\MonoDroidApplication1\obj\Debug\res" "-I" "C:\android-sdk-windows\platforms\android-8\android.jar" c:\workproj\MonoDroidApplication1\MonoDroidApplication1\aresgen MonoDroidApplication1 This is, in fact, not useful at all. If you click View->Options, you can view Full output, which is much more useful, including the messages: mainmenu.xml:3: error: Error: No resource found that matches the given name (at 'title' with value '@string/mnuAbout'). mainmenu.xml:7: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/back'). mainmenu.xml:7: error: Error: No resource found that matches the given name (at 'title' with value '@string/mnuQuit'). Thus, the feature request: surface these underlying errors into a form that is actually usable by VS users, showing these errors as per-line errors within the VS Errors list, without requiring that the user dig through View->Output. -- 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
