Не удалось найти файл метаданных .dll И значение не может быть нулевым (имя параметра: ключ) ОШИБКИ, появляющиеся при работе с кроссплатформенным приложением Xamarin - PullRequest
0 голосов
/ 10 июля 2020

Привет всем, я делал простое приложение Xamarin cross-paltform, и внезапно ошибка Значение не может быть нулевым именем параметра: появился ключ , указывающий на 1-ю строку одного из xaml files

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             x:Class="PracticaMastDet.afterSignUpPage">

    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <BoxView BackgroundColor="Red" Grid.Row="0" Grid.Column="0" />
        <BoxView BackgroundColor="Green" Grid.Row="0" Grid.Column="1"/>
        <BoxView BackgroundColor="Blue" Grid.Row="1" Grid.Column="0"  Grid.ColumnSpan="2"/>
        <Grid Margin="5" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" RowDefinitions="*,*,*" ColumnDefinitions="*,*,*">
            <BoxView BackgroundColor="Turquoise" Grid.Row="0" Grid.Column="0"/>
            <BoxView BackgroundColor="Pink" Grid.Row="0" Grid.Column="1"/>
            <BoxView BackgroundColor="Lime" Grid.Row="0" Grid.Column="2"/>
            <BoxView BackgroundColor="Orange" Grid.Row="1" Grid.Column="0"/>
            <BoxView BackgroundColor="MediumPurple" Grid.Row="1" Grid.Column="1"/>
            <BoxView BackgroundColor="DarkMagenta" Grid.Row="1" Grid.Column="2"/>
            <BoxView BackgroundColor="LightGoldenrodYellow" Grid.Row="2" Grid.Column="0"/>
            <BoxView BackgroundColor="Maroon" Grid.Row="2" Grid.Column="1"/>
            <BoxView BackgroundColor="DeepPink" Grid.Row="2" Grid.Column="2"/>
        </Grid>

    </Grid>

</ContentPage>

Я думал, что это ошибка Visual Studio, потому что в этой строке явно нет ошибки, но когда я перезапустил IDE, очистил и построил решение, выскочила другая ошибка: Не удалось найти файл метаданных .dll . После этого я много искал в inte rnet, но не мог понять, может ли кто-нибудь мне помочь?

...