Remove IntelliSence

This commit is contained in:
Sergey Chebotar 2023-04-06 21:38:01 +03:00
parent 51c97607ef
commit 99f46e089c
3 changed files with 1 additions and 8 deletions

View File

@ -1,6 +1,4 @@
using ExcelDna.IntelliSense;
using RhSolutions.Tools;
using System.Net;
using System.Net;
#if !NET472
using System.Runtime.Versioning;
#endif
@ -32,16 +30,13 @@ public sealed class RhSolutionsAddIn : IExcelAddIn
Configuration = ServiceProvider.GetService<IAddInConfiguration>();
Excel = ServiceProvider.GetService<Application>();
IntelliSenseServer.Install();
EventsUtil.Initialize();
ServicePointManager.SecurityProtocol =
SecurityProtocolType.Tls12;
}
public void AutoClose()
{
IntelliSenseServer.Uninstall();
EventsUtil.Uninitialize();
}
}

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<DnaLibrary Name="RhSolutions Add-In" RuntimeVersion="v4.0" xmlns="http://schemas.excel-dna.net/addin/2020/07/dnalibrary">
<ExternalLibrary Path="RhSolutions.AddIn.dll" ExplicitExports="false" LoadFromBytes="true" Pack="true" IncludePdb="false" />
<Reference Path="ExcelDna.IntelliSense.dll" Pack="true" />
<Reference Path="Microsoft.Extensions.DependencyInjection.Abstractions.dll" Pack="true" />
<Reference Path="Microsoft.Extensions.DependencyInjection.dll" Pack="true" />
<Reference Path="Microsoft.Extensions.Http.dll" Pack="true" />

View File

@ -29,7 +29,6 @@
<TreatAsUsed>true</TreatAsUsed>
</PackageReference>
<PackageReference Include="ExcelDna.Integration" Version="1.6.0" />
<PackageReference Include="ExcelDna.IntelliSense" Version="1.6.0" />
<PackageReference Include="ExcelDna.Interop" Version="15.0.1" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />