Pages

Tuesday, January 3, 2012

Word Add In Installer - Unable to read App Config


app.config file is not getting read after installing word add in installer?
Solution:
In Installer project there is a registry key for add in which has manifest entry. MSDN Documentation says that manifest values should be set to - [TARGETDIR]YourAddIn.vsto|vstolocal , now when this is changed to file path like file:/// [TARGETDIR]YourAddIn.vsto|vstolocal and reinstalling add in I got everything working fine.
Note : This worked for me and there is no guarantee that will work in each scenario , also be careful while modifying registry entries.

No comments:

Post a Comment