Contact Store which is in Windows.ApplicationModel is accessable in windows phone 8.1 project but it is not accessible in my View model which is in my shared project. Does anyone know how to access this in shared project?
You can just use Conditional Compilation Constants inside the Shared Project
#if WINDOWS_APP
//do your logic here
#else
//do windows phone logic here
#endif
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more