0
votes

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.

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.

1
The InkPresenter is located in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.Windows.dll but for some reason it does not want to be referenced automatically.Mikael Dúi Bolinder
@MikaelDúiBolinder...A DLL has to be referenced if a class defined in it is used....And if we can't reference the DLL, how would we use its classes?AvinashK
@avinash you need to understand this, you can't use sliverlight api's in new winrt api's.Vyas
@Vyas_27...can you point me to a link which tells me about all these frameworks and how they are interrelatedAvinashK
@Vyas_27 I think this is a Silverlight 8.1 app, not a Universal App.Mikael Dúi Bolinder

1 Answers

1
votes

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