문제

I have a solution that contains 2 projects, 1 client(consol) and 1 windows service(debugs in console). The problem is that the client needs a service ref to the service but its not possible to add a service ref while running. It is also not possible to find the service while not running even when using the Discover button?

I supose I could start another Visual Studio with the same project and just start the service but is there really no better way to solve this?

BestRegards

도움이 되었습니까?

해결책

If you are using Visual Studio 2010 (or higher) you should be able to find a service in the current solution via the "Discover" button. Please try to rebuild and follow the instractions in the link below:

http://msdn.microsoft.com/en-us/library/bb628652(v=vs.100).aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top