Created attachment 11174 [details]
On master (XI 22.214.171.1244) I am unable to successfully build the monotouch-samples project SpriteTour (https://github.com/xamarin/monotouch-samples/tree/master/SpriteTour), however on stable (XI 126.96.36.1997) I am able to successfully build. The error thrown does not give any indication as to what the issue may be.
Steps to reproduce:
1) Open attached project
2) Clean project
3) Build project for any configuration
Project successfully builds
Build fails, throwing the error: ".../SpriteTour.csproj(1,1): Error: Unknown MSBuild failure. Please try building the project again (SpriteTour)"
=== Xamarin Studio ===
Version 5.9 (build 431)
Installation UUID: 476d6850-22f1-4443-980f-6137a73b4b1f
Mono 4.0.0 ((detached/d136b79)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400000143
=== Apple Developer Tools ===
Xcode 6.3.1 (7703)
=== Xamarin.iOS ===
Version: 188.8.131.524 (Business Edition)
Build date: 2015-05-12 10:48:47-0400
=== Xamarin.Android ===
Version: 184.108.40.206 (Business Edition)
Android SDK: /Users/dylankelly/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: /usr
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 220.127.116.112 (Business Edition)
=== Build Information ===
Release ID: 509000431
Git revision: 7560726734fc7267de2fa9abed2509968deefaa8
Build date: 2015-04-17 19:25:48-04
Xamarin addins: 2e772c734ab3148054eae7bf8949f340fdeb5e5e
=== Operating System ===
Mac OS X 10.10.3
This looks like a bug in our MSBuild implementation.
This is what shows up in a command-line build with xbuild: https://gist.github.com/rolfbjarne/dc2b10d91424204d283c
If it helps, the prebuilt sample "FieldService" (https://github.com/xamarin/prebuilt-apps/tree/master/FieldService) and the monotouch-sample Tabbed_Images (https://github.com/xamarin/monotouch-samples/tree/master/Tabbed_Images) are experiencing the same ArgumentNullException on master.
Experiencing the same issue with FieldService and XI 18.104.22.1686. Put this bug to CONFIRMED
I'm getting "Error: Unknown MSBuild failure. Please try building the project again" when trying to build the stock F# Xamarin.Forms solution that Xamarin Studio 6.1.2 (build 44) [stable channel] creates by default for Android (on Windows).
So you should remove the "monotouch" bit from the subject because the problem seems to be not so specific.
This is also being reported many times in the forum: https://forums.xamarin.com/discussion/31194/unknown-msbuild-failure-please-try-building-the-project-again-on-migrating-classic-apis-to-unified
Created attachment 18497 [details]
Attaching my log file.