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.
Possibly related to (but wasn't fixed by) Bug 12730, this is happening in both the latest beta and alpha releases.
# Steps to reproduce
Create a storyboard project in Xamarin Studio on OSX
Create a folder under Resources (e.g. Resources/testData)
Add an image to that folder (e.g. "testImage.png")
Add a UIImageView to the storyboard
Set the Image property to "testData/testImage.png"
Save the project, and load it in Visual Studio on Windows
# Expected behavior
Both designer experiences should display the selected image.
# Actual behavior
Visual studio's designer displays the placeholder image as if none were selected. The list of images in the drop-down doesn't even include the item that was selected on the Mac
Can you attach a copy of the project which replicates this bug? There are one or two things which *could* be causing the problem which are easier to validate when we have a copy of the project.
Created attachment 13527 [details]
minimal project demonstrating bug 35223
Sure thing. I've attached the minimal project I created to reproduce this bug.
I also remember something that happened a while ago that may be related. I had another project that started in Visual Studio, with all the resources in the root dir. I moved those resources into a subdirectory, and things seemed to be working fine.
Then I opened the project in Xamarin Studio on my mac, and it added a bunch of duplicate resource entries in the storyboard, with the only difference being the "directory/" added to the beginning of all the files. Since the ones in the directory were correct, I removed the entries that didn't include it. That may be when the images stopped showing up in VS.
Thanks for filing this report @Matthew!
I am unable to reproduce this issue using the latest 15.3 builds. To attempt to reproduce this issue, I created an iOS app, added a UIImageView to the storyboard, and referenced an image in a subfolder of the Resources directory:
After saving this project and transferring over to Visual Studio (on Windows), the image located in a nested folder of Resources renders correctly:
Environment Info: https://gist.github.com/pierceboggan/f1ffd9e92b04565eb494d4138e1a034a