From 598ffe0d3c8ce810bd50039eedb3634e0433e6da Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 19 Dec 2022 20:27:11 +0300 Subject: [PATCH] Remove Registration --- src/AddIn/AddIn.cs | 9 --------- src/RhSolutions.csproj | 3 --- src/packages.config | 1 - 3 files changed, 13 deletions(-) diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs index 5486103..b8bfd21 100644 --- a/src/AddIn/AddIn.cs +++ b/src/AddIn/AddIn.cs @@ -1,6 +1,5 @@ using ExcelDna.Integration; using ExcelDna.IntelliSense; -using ExcelDna.Registration; using Microsoft.Office.Interop.Excel; using System.Net.Http; using System.Runtime.Caching; @@ -16,7 +15,6 @@ namespace RhSolutions { Excel = (Application)ExcelDnaUtil.Application; httpClient = new HttpClient(); - RegisterFunctions(); IntelliSenseServer.Install(); RegistryUtil.Initialize(); EventsUtil.Initialize(); @@ -28,12 +26,5 @@ namespace RhSolutions RegistryUtil.Uninitialize(); EventsUtil.Uninitialize(); } - - void RegisterFunctions() - { - ExcelRegistration.GetExcelFunctions() - .ProcessAsyncRegistrations(nativeAsyncIfAvailable: false) - .RegisterFunctions(); - } } } diff --git a/src/RhSolutions.csproj b/src/RhSolutions.csproj index e3f3359..a5e4612 100644 --- a/src/RhSolutions.csproj +++ b/src/RhSolutions.csproj @@ -41,9 +41,6 @@ ..\packages\ExcelDna.IntelliSense.1.6.0\lib\net452\ExcelDna.IntelliSense.dll - - ..\packages\ExcelDna.Registration.1.6.0\lib\net452\ExcelDna.Registration.dll - ..\packages\ExcelDna.Interop.15.0.0\lib\net452\Microsoft.Office.Interop.Excel.dll True diff --git a/src/packages.config b/src/packages.config index 8a005ce..74be17f 100644 --- a/src/packages.config +++ b/src/packages.config @@ -4,7 +4,6 @@ - \ No newline at end of file