I want to create a PCL for .NET 4.5, Windows 8, Windows Phone 8.1 and Silverlight 5, however I am not able to use ICommand when checking all of these platforms, although all of them should support it according to MSDN.
Steps to reproduce:
Build succeeds
Add Windows Phone 8.1 in the project settings
Is this is bug? Or am I missing something?
Unfortunately we weren’t able to support ICommand (and other ViewModel types such as ObservableCollection) in PCLs that target both Silverlight 5 and Windows Phone 8.1. I’d suggest dropping SL5 support from the PCL and supporting that platform via a non-portable library.