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 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.
For iOS, Android and TVOS applications, designer always opens in XML format only.
Steps To Reproduce :
1. Create any single view application (iOS/Android/TVOS)
2. Open main.Storyboard for iOS/TVOS and main.axml for android
3. Observe the designer screen
Expected Result : Designer screen should be opened in previewer screen.
Actual Result: Designer is opened in XML format.
Build Info :
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Xamarin 22.214.171.1249 (d539a5add)
Xamarin.Android 126.96.36.199 (f241f51)
Xamarin.iOS 188.8.131.52 (1b460cb)
Detailed Build Info : https://gist.github.com/aman-daharwal/fccfb6153d39d3a6d7ba3808a93b47f7
Screencast : https://www.screencast.com/t/M8lJ1SYuSgD
Logs : https://gist.github.com/aman-daharwal/f387593427fe43ebf9148b7ae855d0b1
Please let me know if anything more is required.
I believe this issue is because the wrong MSI files were used. Please get in touch with Luis or Ben to get the right installers for testing.
I just installed the same build and it does not seem to be a wrong MSI issue.
However, I did get package load failures right after installing. Deleting the %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache folder manually resulted in working designers *and* previewer.
Could you try that workaround, to determine if we need to re-introduce that step in the MSI?
*** Bug 60412 has been marked as a duplicate of this bug. ***
After locally trying reintroducing the MEF nuking, it still fails on the first run for me. But a subsequent run works just fine :S
@Prasad could you please verify that this is a first-run only issue? Or is it persistent?
Its failing for me every time.
Plz provide the location where you got the MSI from, as well as the full VS version info (including XVS versions).
@ Daniel Cazzulino
It has been again reproduced on latest build as well.
Build location : https://bosstoragemirror.azureedge.net/xvs-alpha/c7/c72989c091dd28bc4dc9d56add158b3856054436/Xamarin.VisualStudio_184.108.40.2064864.msi
Build info : https://gist.github.com/gangrade-swati/be528b779438f49f98148753eb15b6fc
Installed the given build. First run failed to load package as usual (that's another known issue, unrelated to this one).
Restarted VS, can't repro (storyboards and axml loads just fine in the designer).
I noticed that the build info in comment 8 does not list the designer bits. I'm going to go ahead and guess that the correct designer bits are not installed.
@Prasad, can you go to Extensions and Updates, and tell us what designer versions are installed?
Also, I can't reproduce this either with our 15.5 Preview 4 MSI. I'm going to leave this as resolved as it probably is an environmental issue. If we verify that this is the case, then the bug can be marked as `verified not_reproducible`.
env info: https://gist.github.com/BenBeckley/22cdb751cda6a541056d8b046f54c3fb