Bug 42130 - "Exception thrown by target of an invocation" dialog shown if the Forms previewer is opened when a solution is not open
Summary: "Exception thrown by target of an invocation" dialog shown if the Forms previ...
Status: VERIFIED DUPLICATE of bug 42262
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms Previewer ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-06-23 20:52 UTC by Kyle White
Modified: 2016-07-15 09:02 UTC (History)
3 users (show)

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

logs (2.66 KB, application/zip)
2016-06-23 20:52 UTC, Kyle White

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 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:

Description Kyle White 2016-06-23 20:52:14 UTC
Created attachment 16466 [details]

Steps to reproduce:
1) Open VS
2) Don't open any solution
3) Open the previewer (View > Other Windows > Xamarin.Forms previewer)

Actual: User is greeted with a error dialog "Exception has been thrown by the target of Invocation"

Expected: It would be better if the window would just open and be blank, just like most of the other pads in Visual Studio. 

About VS: https://gist.github.com/kdubau/9d9a8ca24dc2b05d4bc1fe4d512e2576
Comment 1 Alan McGovern 2016-06-24 00:53:23 UTC
There's no exception information in the log other than errors from VS licensing. Can you screencast the problem?
Comment 3 Alan McGovern 2016-07-04 12:18:26 UTC
This should be fixed by

*** This bug has been marked as a duplicate of bug 42262 ***
Comment 4 Alan McGovern 2016-07-04 12:18:41 UTC
Oops, this should be fixed by the same fix as #42262.