Пожалуйста, посмотрите полный код в моем .xaml-файле.Как видите, в нем всего 10 строк:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage BackgroundColor="Black"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:ImageTest"
x:Class="ImageTest.ImagePage">
<Button Image="clock.png" x:Name="btn" />
</ContentPage>
Когда я пытаюсь построить свой проект, я получаю следующее сообщение об ошибке:
Severity Code Description Project File Line Suppression State
Error Position 12:16.
Type EmbeddedImage not found in xmlns http://xamarin.com/schemas/2014/forms ImageTest
D:\Mobile Apps\Mosh\ImageTest\ImageTest\ImageTest\ImagePage.xaml 12
Почему Visual Studio дает мнеошибка в строке, которая не существует?