@@ -90,7 +90,7 @@ public static void ProcessAssemblies(
9090 GetExcelMethods ( type , explicitExports , methods , excelFunctionsExtendedRegistration ) ;
9191 GetExcelFunctionExecutionHandlerSelectors ( type , excelFunctionExecutionHandlerSelectors ) ;
9292 }
93- GetExcelAddIns ( assembly , type , loadRibbons , addIns ) ;
93+ GetExcelAddIns ( assembly , type , addIns ) ;
9494 GetRtdServerTypes ( type , rtdServerTypes , out isRtdServer ) ;
9595 GetComClassTypes ( assembly , type , attribs , isRtdServer , comClassTypes ) ;
9696 }
@@ -306,7 +306,7 @@ public class ExcelAddInInfo
306306 public DnaLibrary ParentDnaLibrary ;
307307 }
308308
309- static public void GetExcelAddIns ( ExportedAssembly assembly , Type t , bool loadRibbons , List < ExcelAddInInfo > addIns )
309+ static public void GetExcelAddIns ( ExportedAssembly assembly , Type t , List < ExcelAddInInfo > addIns )
310310 {
311311 // NOTE: We probably should have restricted this to public types, but didn't. Now it's too late.
312312 // So internal classes that implement IExcelAddIn are also loaded.
@@ -320,7 +320,7 @@ static public void GetExcelAddIns(ExportedAssembly assembly, Type t, bool loadRi
320320
321321 Type addInType = t . GetInterface ( "ExcelDna.Integration.IExcelAddIn" ) ;
322322 bool isRibbon = IsRibbonType ( t ) ;
323- if ( addInType != null || ( isRibbon && loadRibbons ) )
323+ if ( addInType != null || isRibbon )
324324 {
325325 ExcelAddInInfo info = new ExcelAddInInfo ( ) ;
326326 if ( addInType != null )
0 commit comments