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 for Bug 51681 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
Created attachment 19425 [details]
I have 2 xaml files, one valid that renders fine and another that has an error. When I change from the valid file to the bad file, the error appears however the preview does not change and the error visually is related to the valid file.
I would expect the preview to return to the grey initializing state and not retain the old, valid layout. Then display the error over the default state.
Created attachment 19429 [details]
Thanks for filing this @David! I was able to reproduce this issue using the latest d15-3 internal builds.
When switching from one view to another, if there is an issue in syntax, the last "good" preview is shown, rather than an error for the page you are currently on:
Environment Information: https://gist.github.com/pierceboggan/f1ffd9e92b04565eb494d4138e1a034a
This is supposed to be addressed by swapping to use a proper split view for the previewer instead of the toolwindow.
I have no idea of the ETA on that though.
I can still reproduce this with the latest VS 2017 15.3 and VS4Mac previews. Updating report accordingly.
The behavior on VS4Mac is slightly different in that the previously valid page is still displayed but with an error and that error persists while previewing the other valid pages.