The current version includes support for the Profile136 PCL version, and it includes support for WinRT. Unfortunately, these leave a gap in a core scenario:
Try to create a portable library which references protobuf-net, which can be included in both a Windows 8.1 project and a Windows Phone 8.1 project. It is currently not possible. This is very painful, as it means that protobufs cannot be used in any shared library consumed by a universal app (an app which contains both a windows 8.1 and a windows phone 8.1 flavor).
As it turns out, the current WinRT flavor of protobuf-net CAN be directly referenced by a Windows 8.1 project, and it CAN be directly referenced by a Windows Phone 8.1 project, but it CANNOT be referenced by any PCL library which can then be referenced by those two project types.
To solve this, please add another PCL flavor (Profile 111). From File->New Project in Visual Studio, choose the PCL class library template, and then select this combination of items:
The current version includes support for the Profile136 PCL version, and it includes support for WinRT. Unfortunately, these leave a gap in a core scenario:
Try to create a portable library which references protobuf-net, which can be included in both a Windows 8.1 project and a Windows Phone 8.1 project. It is currently not possible. This is very painful, as it means that protobufs cannot be used in any shared library consumed by a universal app (an app which contains both a windows 8.1 and a windows phone 8.1 flavor).
As it turns out, the current WinRT flavor of protobuf-net CAN be directly referenced by a Windows 8.1 project, and it CAN be directly referenced by a Windows Phone 8.1 project, but it CANNOT be referenced by any PCL library which can then be referenced by those two project types.
To solve this, please add another PCL flavor (Profile 111). From File->New Project in Visual Studio, choose the PCL class library template, and then select this combination of items:
.Net 4.5 Windows 8.1 Windows Phone 8.1
Unselect everything else.