In case of VSTO this AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
This Returns the Configuration file of the Executing Plugin, while shared add-in Returns False Configuration File as AppDomain returns d:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE instead of the Assembly of the Plugin. My Question is how can I get the domain of my plugin?
VSTO-> Adding Assembly Domain
SharedAddin-> Excel.exe Domain
how can I get the AppDomain of Plugin instead of Host Application.