I receive this error when trying to run the client.
The type 'StringPro.IMyString' is defined in an assembly that is not referenced.
This error comes from, StringProClient from file Program.cs and underlines in blue the following first line of code:
StringProProxy.StringProProxy proxy = new StringProProxy.StringProProxy();
The solution has 4 projects inside:
StringPro - Class Library that contains the service's interface(IMyString.cs
) and the implementation class(MyString.cs
)
StringProHost - Console Application that has Program.cs inside which defines Uri
, ServiceHost
, Endpoint
, ServiceMetadataBehaviour
, HttpGetEnabled
, host.Description.Behaviours
, calls host.Open()
and displays in console information about when the service was started
StringProProxy - I believe it's a Class Library project since it has only StringProProxy.cs
which defines the service's proxy
StringProClient - Console Application which instantiates the service's proxy inside, call the service's functions and displays results.
EDIT: The service host launches fine. It's the client that won't build and run because of the mentioned error.