Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
图像未显示在Xamarin XAML设计器预览中_Xamarin_Xamarin.forms_Xamarin Studio - Fatal编程技术网

图像未显示在Xamarin XAML设计器预览中

图像未显示在Xamarin XAML设计器预览中,xamarin,xamarin.forms,xamarin-studio,Xamarin,Xamarin.forms,Xamarin Studio,我现在在Mac上的Xamarin Studio 6.1.1中,试图在Designer中使用XAML设计一些东西,我想知道为什么预览中会显示标签,而图片却不会 如果我在iOS模拟器中运行该项目,则会显示图像 这是我的代码: <Image Source="images/bla_wifi.png" HorizontalOptions="LayoutOptions.FillAndExpand" VerticalOptions="LayoutOptions.FillAndExpand" Margin

我现在在Mac上的Xamarin Studio 6.1.1中,试图在Designer中使用XAML设计一些东西,我想知道为什么预览中会显示标签,而图片却不会

如果我在iOS模拟器中运行该项目,则会显示图像

这是我的代码:

<Image Source="images/bla_wifi.png" HorizontalOptions="LayoutOptions.FillAndExpand" VerticalOptions="LayoutOptions.FillAndExpand" Margin="70,70,70,0"/>
<Label HorizontalOptions="Center" XAlign="Center">
    <Label.Text>
Are you connected to the 
WiFi?
    </Label.Text>
</Label>

您是否已连接到网络
无线上网?

你知道我能做些什么才能在预览中看到图像吗?

我也有同样的问题,但是Visual Studio。到目前为止,我能给出的唯一建议是重新构建解决方案(有时会有帮助),并在精神上继续将表单查看器视为实验性的