0
我想知道以下兩件事情。如何閱讀app.config的Outlook添加
我使用Outlook 2007中加入購物。
- 如何讀取部署Outlook插件應用程序設置。
我用下面的東西來讀取配置文件。
ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().CodeBase.ToLower().Replace("file:///", ""));
請讓我知道你是否有更好的辦法。
2.對於調用WCF客戶端我需要加載的App.config
EndpointAddress endpointAddress = new EndpointAddress(endPoint.Address);
serviceWS = new serviceWS(new BasicHttpBinding(), endpointAddress);
定義的所有WCF配置我想加載WCF所有的app.config設置。
3.Also我想知道是否有可能改變dll.config部署的機器上並反映插件這些變化(確保插件讀取dll.config)
感謝您的幫助