Plugin needs to load app.config

Hello, I’m developing a Rhino plugin and it seems to need to have setting from “app.config” file like this.
indent preformatted text by 4 spaces

<?xml version="1.0" encoding="utf-8" ?>

When I build my plugin project, I can find both .rhp and .dll.config file. (.dll.config has the xml code)
It seems rhp doesn’t have this xml settings, so I want to include or load this xml setting runtime or compile time. Could you give me any example code or article for it? Thank you.

Oops… xml code doesn’t show up in this topic… anyway this xml has the information of wsDualHttpBinding address to communicate with other app.

I’m getting the error “The Address property on ChannelFactory.Endpoint was null. The ChannelFactory’s Endpoint must have a valid Address specified” on my Rhino plugin, and I guess it’s because that rhp doesn’t include xml settings.

Hi @hyunsoo,

Wny not configure your WCF service in code?

– Dale

Thank you, there was another problem on my plugin code. :slight_smile: