Powershell Calling .NET Assembly that uses App.config

Try:

[System.AppDomain]::CurrentDomain.SetData("APP_CONFIG_FILE", $config_path)

Leave a Comment