I created a class library project in Visual Studio (C#). I added a service reference in that project for a WCF service and created a class and functions to consume that service reference.
Then I created console application project in Visual Studio (C#) to test the above class library project but it was throwing an error. While looking for the solution I found that I need to copy the <system.servicemodel>
from app.config of my Class Library project and add it in my test project. I tried this solution and it worked fine.
However, I need to provide this DLL file (only the DLL) to a third party where they will use it. How can I configure my Class Library project that I don't have to manually copy <system.servicemodel>
from app.config of class library???
i.e I will only share the DLL with them and they should be able to run it without adding anything extra in app.config on their side.