I’ve browsed around for an answer, but I haven’t found anything that really says, ‘Hey dummy, this is what’s up.’ So, I have a WPF application that references a Class library, within the Class library I create connections to and call WCF applications and it works fine. The issue is that I have to create a service reference within my WPF in order for the program to work, even though the WPF doesn’t directly interact with the WCF applications at all. If you need any more info, or if you have any advice, please let me know. Thank you for your time.
I’ve browsed around for an answer, but I haven’t found anything that really says,
Share
You don’t have to, the only thing you need in the WPF application is the settings in the
app.configunder<system.serviceModel>from the class library’sapp.config.The settings file used in a project is the executing one, so when you added the reference also to the WPF application it created an entry for
<system.serviceModel>in your WPF app.