I have an existing WCF Service. I want to add it as a reference to a class library whose target framework is .net6, so that I can call WCF service methods I cannot see any option to add the service as a reference to the class library.
I am using Visual Studio 2022.
Is there any way to do this?
CodePudding user response:
@madmonk46 comment helped me in adding the service as a reference.
So you need to right-click the project in Solution explorer, then click on Add then Service Reference.