Bug 51178 - XF Previewer window still showing errors with no solution open
Summary: XF Previewer window still showing errors with no solution open
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms Previewer ()
Version: 4.3.0 (C9)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-01-02 20:22 UTC by vga
Modified: 2017-01-03 14:21 UTC (History)
2 users (show)

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

XF toolwindow (200.41 KB, image/png)
2017-01-02 20:22 UTC, vga

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 vga 2017-01-02 20:22:37 UTC
Created attachment 19053 [details]
XF toolwindow

Repro: create/open a XF app, use the XF Previewer to preview a xaml, then close the solution.

Actual: The XF toolwindow still displays errors for a xaml that has been closed and there is no solution loaded.

Expected: The XF toolwindow is in sync with what's previewing. And no selected xaml files causes no errors/outdated output in the XF toolwindow.
Comment 1 Alan McGovern 2017-01-03 14:21:25 UTC
Due to us being limited to a toolwindow we only update the rendered image when a new xaml file is opened, or the active xaml file is modified. This is going to be expected behaviour until we no longer use a toolwindow.