2015-10-13 66 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;項目 –