C# 无法使用<;电话:PhoneApplicationPage/>;
我正在为8.1开发一个C# 无法使用<;电话:PhoneApplicationPage/>;,c#,visual-studio,xaml,windows-phone-8,dll,C#,Visual Studio,Xaml,Windows Phone 8,Dll,我正在为8.1开发一个windows phone应用程序 我正试图在他们的应用程序中制作一个类似Facebook的副菜单。 我发现这个教程: 现在,当我下载源代码时,我看到xaml使用 我有一段代码: <phone:PhoneApplicationPage x:Class="Membr2.BlankPage1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="htt
windows phone应用程序
我正试图在他们的应用程序中制作一个类似Facebook的副菜单。
我发现这个教程:
现在,当我下载源代码时,我看到xaml
使用
我有一段代码:
<phone:PhoneApplicationPage
x:Class="Membr2.BlankPage1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="using:Membr2"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
</phone:PhoneApplicationPage>
我添加了以下参考资料:
- 微软手机
- Microsoft.Phone.Controls.Toolkit
PhoneApplicationPage
位于Microsoft.Phone
所以我不知道我做错了什么?我非常了解windows Phone开发,这些参考资料让我发疯。。。有人能帮我更好地理解吗
非常感谢 您正在制作一个windows phone 8.1应用程序,
是windows phone 8 Silver light的一部分
您应该使用
而不是
,因为前者用于WinRT
,所以我无法使用本教程?您可以,但如果需要,您必须根据windows 8.1 Api修改它,如替换为等
- Unknown type 'PhoneApplicationPage' in XML namespace 'clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone'
- The type 'phone:PhoneApplicationPage' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
- The name "PhoneApplicationPage" does not exist in the namespace "clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone".