У меня есть библиотека классов, которая обычно вызывается из консоли .net или веб-приложения. Он интегрируется с различными компонентами и опирается на app.config или web.config.
Если я хочу использовать библиотеку классов из script (т.е. IronPython), как я могу заставить script использовать конфигурационный файл? В идеале я хочу иметь возможность выбирать конфигурационный файл при запуске script или по соглашению (файл конфигурации находится рядом с файлом script).
Я не хочу, если возможно, изменить ipy.exe.config, поскольку это не будет масштабироваться для нескольких конфигураций без наличия нескольких копий IronPython?
Любые альтернативы?