Missing namespace ServiceClient (ServiceStack.ServiceClient.Web) using VS2013 with ServiceStack.Client package v.4.0.3

servicestack, visual-studio-2013

Solution

You're using the just released v4 of ServiceStack which is a breaking release with significant changes that requires additional development effort to upgrade to.

Here are NuGet instructions to remain on ServiceStack V3.

Problem

I'm fairly new to C#, Visual Studio, and totally new to ServiceStack. I'm trying to create a ServiceStack.ServiceClient.Web.JsonServiceClient object, but I get the error: ``` The type or namespace name 'ServiceClient' does not exist in the namespace 'ServiceStack' (are you missing an assembly reference?) ``` I have used the nuGet add-on's Library Package Manager to install the "Service Clients for ServiceStack" v4.0.3 package (id:ServiceStack.Client), verified that my target framerwork is ".NET Framework 4.5", and included ``` using ServiceStack.ServiceClient.Web; ``` at the top of my code. What am I missing? Thanks.

Original source