Bug 38638

Summary: Getting build error "Error initializing task XmlPeek: Not registered task XmlPeek".
Product: [Mono] Installers Reporter: Abhishek <abhishekk>
Component: GeneralAssignee: dean.ellis
Severity: normal CC: dean.ellis, mono-bugs+mono, mono-bugs+monodroid, mono-bugs+tools, peter.collins
Priority: High    
Version: 4.3.0   
Target Milestone: 4.3.2 (C7)   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:
Bug Depends on: 36183    
Bug Blocks:    

Comment 1 dean.ellis 2016-02-10 17:17:56 UTC
Which version of mono are you running?
Comment 2 Abhishek 2016-02-10 17:20:44 UTC
@Dean I am using mono from C7 preview branch
Comment 3 dean.ellis 2016-02-10 17:25:10 UTC
In which case this is a mono bug, Android has no control of what is available in Xbuild.
Comment 4 Rodrigo Kumpera 2016-02-10 22:34:32 UTC
This is a problem with the original implementation of XmlPeek.
Comment 5 dean.ellis 2016-02-11 10:18:26 UTC
A PR has been submitted for this mono/pull/2598
Comment 6 dean.ellis 2016-02-12 11:23:41 UTC
Fixed in mono/master/96cd1c9e
Comment 7 Peter Collins 2016-02-18 21:51:20 UTC
@Dean I'm still able to reproduce an issue with XML peek, looks like an NRE of sorts. The mono on my Mac is - Mono 4.3.2 (mono-4.3.2-branch/905088b

Comment 8 dean.ellis 2016-03-01 13:54:39 UTC
@Peter this have been cherry-picked to 4.4.0 


Looking at the log you posted that version does not have the fix in it as its still referencing LogErrorFromResource
Comment 9 Abhishek 2016-03-02 13:49:30 UTC
I have checked this issue with the latest C7 mono and master build:

Now I am successfully able to build the sample application. Here is the screencast:

Build Output: https://gist.github.com/Abhishekk360/c70dd71cb048c5608772.

Hence closing this issue.