c# - Use App.Config of DLL at an Office Addin written with IDTExtensibility2 instead od VSTO -


we have built office addin implementing idtextensibility2 interface (and iribbon... , taskpane) addin using webservice whos binding should configured via app.config of addin.dll... found out binding has either created manually configuring directly in c# or config settings have written in targetapp.exe.config - in our case windword.exe.config. not clean solution deploying - there way (except switching vsto , fool arround ribbon , taskpane @ end?) reading config dll.config file? not have manifest , or vsto file created (because our addin not based on vsto) using configurationmanager , read manually code , instantiate binding bit cruel... ideas?! thank you

you can create own app domain , configure automatically uses config file, expect under other app.config scenarios. use appdomain.create appdomainsetup configurationfile property set path of app.config.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -