Skip to content

Commit 46f2aac

Browse files
committed
Fix build after cherry-pick
1 parent d47b49b commit 46f2aac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Source/ExcelDna.Integration/AssemblyLoader.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

Source/Tests/ExcelDna.RuntimeTests/UI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace ExcelDna.RuntimeTests
77
{
88
public class UI
99
{
10-
[ExcelFact(Workbook = "", AddIn = AddInPath.RuntimeTests)]
10+
[ExcelFact(Workbook = "", AddIn = @"..\..\..\..\ExcelDna.AddIn.RuntimeTests\bin\Debug\net6.0-windows\ExcelDna.AddIn.RuntimeTests-AddIn")]
1111
public void Command()
1212
{
1313
CommandBarPopup? menu = FindPopupMenu("ExcelDna.AddIn.RuntimeTests add-in");

0 commit comments

Comments
 (0)