简体   繁体   English

Windows Phone 8.1运行时应用程序项目中缺少命名空间

[英]Namespace missing in Windows Phone 8.1 runtime app project

I am writing a Windows Phone 8.1 runtime app. 我正在编写Windows Phone 8.1运行时应用程序。 The InkPresenter class which was available in Windows Phone 8 is not there in 8.1. Windows Phone 8中可用的InkPresenter类在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. 现在,8.1应该与8向后兼容,并且使用Windows Phone 8中的InkPresenter类的所有应用程序也可以在8.1上运行。 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. 因此,我的猜测(并且我可能会做错这一假设)是Inkpresenter类也应该在Windows Phone 8.1中存在,但可能在其他命名空间下。 Otherwise, how could the apps of Windows Phone 8 using the Inkpresenter class be run on Windows Phone 8.1. 否则,如何在Windows Phone 8.1上运行使用Inkpresenter类的Windows Phone 8的应用程序。

Is my guess true? 我的猜测是真的吗? If yes then please specify how to find the new namespace. 如果是,请指定如何查找新的名称空间。

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 . 您正在编写一个基于Windows Phone 8.1运行时XAML的应用程序,该应用程序针对Windows Phone 8.1的一组新的常见WinRT API。 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. Windows Phone 8应用程序以sliverlight api为目​​标,如果您想在Windows Phone 8.1的Windows Phone 8中使用相同的api,然后尝试编写Windows Phone 8.1 sliverlight应用程序,这将解决您的问题。 This will help you understand better 这将帮助您更好地了解

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM