Bug 45075 - Designer not loading and hang
Summary: Designer not loading and hang
Status: RESOLVED DUPLICATE of bug 44997
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-10-05 18:13 UTC by Tobias Schiek
Modified: 2016-10-25 22:17 UTC (History)
5 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 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 Tobias Schiek 2016-10-05 18:13:11 UTC
I open my project and goto an axml layout file.

Then i click on tab "designer" and wait for loading. After that a click "source".

I do that 3 times, then the designer did not load, i just see die loading-animation an it hangs!!

I found that in the logfile:

System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.ArgumentException: Falscher Parameter. (Ausnahme von HRESULT: 0x80070057 (E_INVALIDARG))
   bei EnvDTE.Document.Close(vsSaveChanges Save)
   bei Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in c:\Users\builder\data\lanes\3822\3b7df6f5\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:Zeile 623.
   bei Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.<OpenViewCodeAsync>b__66_0() in c:\Users\builder\data\lanes\3822\3b7df6f5\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:Zeile 612.
   bei System.Threading.Tasks.Task`1.InnerInvoke()
   bei System.Threading.Tasks.Task.Execute()
   --- Ende der internen Ausnahmestapelüberwachung ---
---> (Interne Ausnahme #0) System.ArgumentException: Falscher Parameter. (Ausnahme von HRESULT: 0x80070057 (E_INVALIDARG))
   bei EnvDTE.Document.Close(vsSaveChanges Save)

Comment 1 Alan McGovern 2016-10-25 22:17:58 UTC

*** This bug has been marked as a duplicate of bug 44997 ***