We created a single portable class library (PCL) that contains WinRT and Windows Phone code, is there a way to detect that the code works in a device (WP) or (tablet or desktop).
Note. We cannot add a condition compilation symbol because the same class library is used for both platforms.
source
share