2015-10-13 68 views
0

我做WP 8.1应用程序。 Windows Mobile 10即将上市。所以,我想将我的应用移植到这个平台上。在我的应用程序中是设置任何图像锁定屏幕的功能。它工作在WinPhone 8.1,但不要在WM工作10从Windows Phone 8.1和Windows Mobile 10锁定屏幕

我用这个解决方案为8.1:https://msdn.microsoft.com/en-us/library/windows/apps/windows.phone.system.userprofile.lockscreen.setimageuri.aspx它不WM 10

工作,我找到解决方案,10:https://msdn.microsoft.com/en-us/library/windows/apps/hh701552.aspx但不工作在8.1

是否有可能为这两种解决方案有一个单一的程序集?

回答

1

您链接到的wp8.1解决方案是手机项目的silverlight版本。胜利10解决方案列出它将工作wp8.1。你只需要使用wp 8.1项目的商店版本不是silverlight

+0

Ops,我错了。我使用WP 8.1 Silverlight。 8.1 SIlverLight和10不一起工作? – Vladislav

+0

窗户;手机8.1同时拥有silverlight手机和winrt版本的手机项目。 Windows 10没有Silverlight;项目 –