How to Obtain Diagnostic Build Logs

JeffreyStedfastJeffreyStedfast Jeffrey StedfastUSXamarin Team Xamurai

One of the most valuable pieces of information that you, as a developer, can use to diagnose build problems with your Android, iOS, Mac, or any other type of application is the Build Log. Build Logs are also extremely useful to pass along to Xamarin when things go wrong with your build.

Enabling Diagnostic-Level Verbosity in Your Build Logs

To change the level of verboseness in your Build Logs, you'll need to open your Xamarin Studio Preferences dialog. On Mac, you can find this dialog by opening the Xamarin Studio menu and selecting the Preferences item. On Windows, you'll need to go to the Tools menu and select the Options item.

Once the dialog appears, navigate to the Build panel of the Projects section and you should see a Log verbosity setting. The log verbosity drop-down menu offers a number of possible verbosity levels, including Diagnostic (which is the most verbose).

Build Log Verbosity

Where To Find Your Build Log

You can find the Build Log for your project in the Errors output pad located at the bottom right of your Xamarin Studio IDE window (just below your Text Editor view):

Error Pad Location

Note: If you do not see the Errors button, then it might have been closed. To re-enable it, go to the View menu, navigate down to the Pads sub-menu and then select Errors.

Clicking the Errors button will display the Error Pad which contains the Build Log as well as the list of errors and warnings that occurred while building your project.

Build Log

Note: You can easily copy the entire Build Log by using the Control-A shortcut to select all text and then using Control-C to copy the Build Log to your clipboard.

Posts

Sign In or Register to comment.