Bug 10511 - System.Reflection.TargetInvocationException: displayed when user clicks add document type button for Mac application.
Summary: System.Reflection.TargetInvocationException: displayed when user clicks add d...
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-02-21 06:17 UTC by Atin
Modified: 2013-03-01 01:49 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 or GitHub 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.

Related Links:

Comment 1 Jeffrey Stedfast 2013-02-25 18:32:41 UTC
fixed in git
Comment 2 Jatin 2013-02-26 04:55:51 UTC
Today, with the latest builds:

XS 4.0 - 0a40582a1d122994063594ea2ea725960c26b671
Xamarin.Mac 1.2.13
Mono 2.10.11 
mac-samples-xammac-1.2 - 0c45256650f1dda76937763af0832237e2ffa4df

We have observed that this issue still exists, as the same error appears when the user click on the 'Add Document Type' button under the Document Types section.

Project options >> Build >> Mac OS X Application >> Advanced >> Document Types

Below is the screencast for the same:

Hence, reopening this issue.
Comment 3 Jeffrey Stedfast 2013-02-26 11:39:56 UTC
fixed in git
Comment 4 Nischal 2013-02-28 06:44:26 UTC
Today we have checked this issue with following builds:

X.S 4.0- 9b07a6655aa75ea1b870feacd2ac7c53b45d3889
Xamarin.Mac: 1.2.17
Mono 2.10.11 (mono-2-10/2baeee2)

And we are still seeing this issue.

Hence reopening this issue
Comment 5 Jatin 2013-03-01 01:48:33 UTC
We have verified this issue with the latest builds:

Xamarin.Macx 1.2.25
XamarinStudio 4.0.2423
Mono 2.10.11

And now this issue is not appearing, as now on clicking the Add document type button, the error is not appearing and user is able to add the document type successfully.

Hence, closing this issue.