Windows Phone 8.1 运行时应用项目中缺少命名空间 [英] Namespace missing in Windows Phone 8.1 runtime app project

查看:37
本文介绍了Windows Phone 8.1 运行时应用项目中缺少命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个 Windows Phone 8.1 运行时应用程序.Windows Phone 8 中可用的 InkPresenter 类在 8.1 中不存在.

I am writing a Windows Phone 8.1 runtime app. The InkPresenter class which was available in Windows Phone 8 is not there in 8.1.

现在,8.1 应该向后兼容 8,并且所有在 Windows Phone 8 中使用 InkPresenter 类的应用程序也可以在 8.1 上运行.所以我的猜测(我的假设可能是错误的)是 Inkpresenter 类也应该存在于 Windows Phone 8.1 中,但可能位于不同的命名空间下.否则,Windows Phone 8 的使用 Inkpresenter 类的应用程序怎么能在 Windows Phone 8.1 上运行.

Now, 8.1 should be backward compatible with 8 and that all the apps that used the InkPresenter class in Windows Phone 8 can run on 8.1 too. So my guess(and I can be wrong in assuming this) is that the Inkpresenter class should be there in Windows Phone 8.1 too but might be under a different namespace. Otherwise, how could the apps of Windows Phone 8 using the Inkpresenter class be run on Windows Phone 8.1.

我的猜测是真的吗?如果是,请说明如何找到新的命名空间.

Is my guess true? If yes then please specify how to find the new namespace.

推荐答案

您正在编写一个基于 Windows Phone 8.1 运行时 XAML 的应用,该应用面向 Windows Phone 8.1 的新通用 WinRT API 集.Windows Phone 8 应用程序针对 sliverlight api,如果您想在 Windows Phone 8.1 中使用与 Windows Phone 8 中相同的 api,请尝试编写 Windows Phone 8.1 sliverlight 应用程序,这将解决您的问题.这将帮助您更好地理解

You are writing a Windows Phone 8.1 Runtime XAML based app which targets new sets of common WinRT API's for Windows Phone 8.1 . And Windows Phone 8 apps target sliverlight api's, if you want to use the same api's in Windows Phone 8 in your Windows Phone 8.1 then try writing Windows Phone 8.1 sliverlight apps, this will solve your problem. This will help you understand better

这篇关于Windows Phone 8.1 运行时应用项目中缺少命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆