Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 9058 [details]
Logs from my repo of the issue
From this priority desk case:
Customer's iOS binding project fails with "Unexpected error - Please file a bug report" when building in Visual Studio.
---Steps to reproduce---
I was able to reproduce the issue in Visual Studio as described below:
1. Open project in Visual Studio.
-> The "Unexpected error - Please file a bug report" is thrown as a warning.
2. Build project.
-> Build stops and the "Unexpected error - Please file a bug report" is thrown as an error.
I was able to confirm the project could be built successfully in Xamarin Studio, and the customer noted that the issue occurred after getting the latest Xamarin for Visual Studio updates; so it seems like it should build correctly. Even if there's a specific reason (missing feature, currently unsupported etc.) why it's expected the project wouldn't build in Visual Studio the error message should be more helpful / descriptive as to what's failing.
---Visual Studio Build Info---
Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Installed Version: Professional
LightSwitch for Visual Studio 2013 06177-004-0447006-02429
Microsoft LightSwitch for Visual Studio 2013
Team Explorer for Visual Studio 2013 06177-004-0447006-02429
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0447006-02429
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0447006-02429
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0447006-02429
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0447006-02429
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0447006-02429
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Windows Phone SDK 8.0 - ENU 06177-004-0447006-02429
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 12.3.50717.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.20703.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.2
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Microsoft Advertising SDK for Windows Phone
Microsoft Advertising SDK for Windows Phone
Microsoft Azure Mobile Services Tools 1.2
Microsoft Azure Mobile Services Tools
NuGet Package Manager 2.8.50926.663
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2013 ENU 12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU
PowerShell Tools 1.2
Provides file classification services using PowerShell
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Xamarin 184.108.40.206 (10cfd178d55287f09c85f5a1e604dfe20889a40f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 220.127.116.11 (ba9bbbdd44cfdc4bf485e8885bd2ad24fba525f7)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 18.104.22.168 (840a925103a0bf4a856507f13d5eaee3c1579c2f)
Visual Studio extension to enable development for Xamarin.iOS.
---Xamarin Studio Build Info---
(Again, note that it did build in Xamarin Studio, but not Visual Studio)
=== Xamarin Studio ===
Version 5.5.4 (build 15)
Installation UUID: 8ef63a7c-1b18-40de-a334-7f78777fcb55
Mono 3.10.0 ((detached/92c4884)
GTK+ 2.24.23 (Raleigh theme)
Package version: 310000031
=== Xamarin.Android ===
Version: 22.214.171.124 (Business Edition)
Android SDK: /Users/kentgreen/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
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)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
=== Apple Developer Tools ===
Xcode 6.1.1 (6611)
=== Xamarin.Mac ===
Version: 126.96.36.199 (Business Edition)
=== Xamarin.iOS ===
Version: 188.8.131.52 (Business Edition)
Build date: 2014-11-16 21:03:22-0500
=== Build Information ===
Release ID: 505040015
Git revision: f93940a35458a18052f1a25e106e62ca970d9c40
Build date: 2014-11-19 15:32:41-05
Xamarin addins: dc23cbd91a3a0e1d326328e1229e86c942a49ec8
=== Operating System ===
Mac OS X 10.10.1
Darwin Kents-MacBook-Pro-2.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
The sample to reproduce the issue is from a customer; so I will add it as a private attachment shortly. I'm also including the logs from my repo of the issue.
Though the same project builds successfully in Xamarin Studio; it does throw 9 warnings that are all of the following format, the only difference being the methods it refers to:
> '%METHOD%' hides inherited member '%METHOD%' To make the current member override that implementation, add the override keyword. Otherwise add the new keyword (CS0114)
This doesn't seem to me to be likely related to the cause of the bug; but I'm noting it to be through.
(Turns out I actually filed this issue myself before and forgot about it. I think this means I'm ready for the weekend :)
*** This bug has been marked as a duplicate of bug 24673 ***