【发布时间】:2023-03-30 13:07:01
【问题描述】:
根据Xamarin's Document,我将 windows phone 应用程序添加到 Xamarin.Forms 项目中。
但是,第 5 步给我的错误是“无法创建 WindowsPhonePage 的实例”。
<forms:WindowsPhonePage
xmlns:forms="using:Xamarin.Forms.Platform.WinRT"
x:Class="XamarinTest.WinPhone81.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:XamarinTest.WinPhone81"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
</forms:WindowsPhonePage>
【问题讨论】:
标签: xaml xamarin windows-phone-8.1 winrt-xaml xamarin.forms