Reputation: 409
Trying to Install ServiceStack into a PCL but get the following error:
Could not install package 'ServiceStack.Interfaces 4.0.32'. You are trying to install this package into a project that targets 'portable-net45+win+wpa81+MonoAndroid10+MonoTouch10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
I have the latest nuget package installed.
Any ideas of how to fix?
Upvotes: 0
Views: 195
Reputation: 143399
ServiceStack's Hello Mobile project contains details about ServiceStack's PCL support where the ServiceStack.Interfaces
is built against Profile136 whilst the ServiceStack.Text
and ServiceStack.Client
NuGet packages only supports Profile7, i.e. PCL support does not include Windows Phone or Silverlight although the NuGet package does include custom builds for Silverlight.
Most clients make use of ServiceStack's new PCL support which are contained in the following NuGet packages:
You would need to ensure the project you're referencing matches up with the supported PCL Profile.
Upvotes: 1