views:

559

answers:

2

I got a Windows service installed on my development machine (that I made) and I want to interact with it. For a reason I don't know, each time I start the client, a WCF Service Host pop and said that the address is already in use ... which is true ... but how can I do to NOT start that Windows ?

Is it because my two projects (server and client) are in the same solution ?

+2  A: 

Yes, its because they are in the same solution. Right click on your WCF project > Properties > WCF Options > Uncheck Start "WCF Service Host when debugging another project in the same solution".

Mike_G
A: 

Maybe it's too late. What I do is, creating a new .Sln file (besides the original one) and include all my client projects, so the WCF one is not part of the .Sln. That should work for you!

Daniel C