更新Xamarin.forms

问题描述 投票:0回答:2

在我将xamarin.forms升级到2.3.4.247版本后,我遇到了崩溃。这是我第一次升级我的xamarin.forms。我不知道坠机事件。有人可以帮忙吗?谢谢

enter image description here

xamarin xamarin.forms xamarin.android xamarin.ios
2个回答
0
投票

您是否尝试过清洁解决方案,然后重新构建它?你有什么尝试?


0
投票
<?xml version="1.0" encoding="UTF-8"?>
<custom:MasterPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="DutchWallet.LoadingScreen" xmlns:custom="clr-namespace:DutchWallet;assembly=DutchWallet" xmlns:i18n="clr-namespace:DutchWallet.Localization;assembly=DutchWallet">
    <custom:MasterPage.Content>
        <AbsoluteLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand">
            <Image AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0, 1, 1" Source="Images/background" Aspect="AspectFill" />
            <Label x:Name="WelcomeToLabel" Text="{i18n:Translate LoadingScreen_WelcomeTo}" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0.18, 1, .1" HorizontalTextAlignment="Center" LineBreakMode="WordWrap" FontFamily="Open Sans" FontAttributes="Bold" TextColor="White" FontSize="42" />
            <Label Text="{i18n:Translate LoadingScreen_DucthWallet}" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0.28, 1, .1" HorizontalTextAlignment="Center" LineBreakMode="WordWrap" FontFamily="Open Sans" FontAttributes="Bold" TextColor="White" FontSize="42" />
            <Image AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0.50, 0.55, .5, .5" Source="Icons/logo" Aspect="AspectFit">
                <Image.AbsoluteLayout.LayoutBounds>
                    <OnPlatform x:TypeArguments="Rectangle" iOS="0.50, 0.55, .5, .5" Android="0.50, 0.55, .4, .5" />
                </Image.AbsoluteLayout.LayoutBounds>
            </Image>
            <Label x:Name="VersionLabel" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0.75, 1, .1" HorizontalTextAlignment="Center" LineBreakMode="WordWrap" FontFamily="Open Sans" FontAttributes="Bold" TextColor="White" Text="Version x.x" FontSize="14" />
        </AbsoluteLayout>
    </custom:MasterPage.Content>
</custom:MasterPage>

也许这个xaml是什么意思?

© www.soinside.com 2019 - 2024. All rights reserved.