Skip to content

Commit 6339bcc

Browse files
committed
remove Hunspell/install via Nuget
1 parent dfedb5c commit 6339bcc

File tree

11 files changed

+40
-6
lines changed

11 files changed

+40
-6
lines changed

OpenDental/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Hunspell is installed and copied by Nuget
2+
Hunspell*.dll

OpenDental/OpenDental.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@
263263
<SpecificVersion>False</SpecificVersion>
264264
<HintPath>..\Required dlls\Newtonsoft.Json.dll</HintPath>
265265
</Reference>
266-
<Reference Include="NHunspell">
267-
<HintPath>..\Required dlls\NHunspell.dll</HintPath>
266+
<Reference Include="NHunspell, Version=1.2.5554.16953, Culture=neutral, PublicKeyToken=1ac793ea843b4366, processorArchitecture=MSIL">
267+
<HintPath>..\packages\NHunspell.1.2.5554.16953\lib\net\NHunspell.dll</HintPath>
268268
</Reference>
269269
<Reference Include="ODApi, Version=22.1.0.0, Culture=neutral, processorArchitecture=MSIL">
270270
<SpecificVersion>False</SpecificVersion>
@@ -10559,6 +10559,12 @@
1055910559
<EmbeddedResource Include="CursorLineSubtract.cur" />
1056010560
<EmbeddedResource Include="CursorMeasure.cur" />
1056110561
<EmbeddedResource Include="CursorScale.cur" />
10562+
<None Include="Hunspellx64.dll">
10563+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
10564+
</None>
10565+
<None Include="Hunspellx86.dll">
10566+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
10567+
</None>
1056210568
<Content Include="Misc\App.ico" />
1056310569
<Content Include="Misc\TerminalMgr.ico" />
1056410570
<EmbeddedResource Include="Forms Reports\FormRpInsOverpaid.resx">

OpenDental/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.2" targetFramework="net48" />
55
<package id="Microsoft.Extensions.Logging.Abstractions" version="8.0.2" targetFramework="net48" />
66
<package id="MySqlConnector" version="2.4.0" targetFramework="net48" />
7+
<package id="NHunspell" version="1.2.5554.16953" targetFramework="net48" />
78
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
89
<package id="System.Diagnostics.DiagnosticSource" version="8.0.1" targetFramework="net48" />
910
<package id="System.Memory" version="4.5.5" targetFramework="net48" />

Required dlls/Hunspellx64.dll

-579 KB
Binary file not shown.

Required dlls/Hunspellx86.dll

-525 KB
Binary file not shown.

UnitTests/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Hunspell is installed and copied by Nuget
2+
Hunspell*.dll

UnitTests/UnitTests.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@
157157
<SpecificVersion>False</SpecificVersion>
158158
<HintPath>..\Required dlls\Newtonsoft.Json.dll</HintPath>
159159
</Reference>
160-
<Reference Include="NHunspell, Version=0.9.6.0, Culture=neutral, PublicKeyToken=1ac793ea843b4366" />
160+
<Reference Include="NHunspell, Version=1.2.5554.16953, Culture=neutral, PublicKeyToken=1ac793ea843b4366, processorArchitecture=MSIL">
161+
<HintPath>..\packages\NHunspell.1.2.5554.16953\lib\net\NHunspell.dll</HintPath>
162+
</Reference>
161163
<Reference Include="ODCrypt">
162164
<HintPath>..\Required dlls\ODCrypt.dll</HintPath>
163165
</Reference>
@@ -677,6 +679,12 @@
677679
<None Include="Resources\x835MassHealth.txt" />
678680
<None Include="Resources\x835PayerControlNumber.txt" />
679681
<None Include="Resources\ApptFind.gif" />
682+
<None Include="Hunspellx64.dll">
683+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
684+
</None>
685+
<None Include="Hunspellx86.dll">
686+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
687+
</None>
680688
<Content Include="Resources\BC_BCDA_2018_GPOOC.txt" />
681689
<Content Include="Resources\canadianprocedurecodes.txt" />
682690
<None Include="Resources\deleteX.gif" />

UnitTests/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<package id="Microsoft.Extensions.Logging.Abstractions" version="8.0.2" targetFramework="net48" />
66
<package id="Mono.Cecil" version="0.10.3" targetFramework="net452" />
77
<package id="MySqlConnector" version="2.4.0" targetFramework="net48" />
8+
<package id="NHunspell" version="1.2.5554.16953" targetFramework="net48" />
89
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
910
<package id="System.Diagnostics.DiagnosticSource" version="8.0.1" targetFramework="net48" />
1011
<package id="System.Memory" version="4.5.5" targetFramework="net48" />

WpfControlsOD/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Hunspell is installed and copied by Nuget
2+
Hunspell*.dll

WpfControlsOD/WpfControlsOD.csproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
<SpecificVersion>False</SpecificVersion>
8282
<HintPath>..\Required dlls\Newtonsoft.Json.dll</HintPath>
8383
</Reference>
84-
<Reference Include="NHunspell">
85-
<HintPath>..\Required dlls\NHunspell.dll</HintPath>
84+
<Reference Include="NHunspell, Version=1.2.5554.16953, Culture=neutral, PublicKeyToken=1ac793ea843b4366, processorArchitecture=MSIL">
85+
<HintPath>..\packages\NHunspell.1.2.5554.16953\lib\net\NHunspell.dll</HintPath>
8686
</Reference>
8787
<Reference Include="OpenDentalHelp, Version=24.2.54.0, Culture=neutral, processorArchitecture=x86">
8888
<SpecificVersion>False</SpecificVersion>
@@ -1712,6 +1712,7 @@
17121712
<SubType>Designer</SubType>
17131713
</EmbeddedResource>
17141714
<None Include="app.config" />
1715+
<None Include="packages.config" />
17151716
<None Include="Properties\Settings.settings">
17161717
<Generator>SettingsSingleFileGenerator</Generator>
17171718
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -1764,6 +1765,13 @@
17641765
<ItemGroup>
17651766
<Resource Include="Resources\PracticeBooster.png" />
17661767
</ItemGroup>
1767-
<ItemGroup />
1768+
<ItemGroup>
1769+
<None Include="Hunspellx64.dll">
1770+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1771+
</None>
1772+
<None Include="Hunspellx86.dll">
1773+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1774+
</None>
1775+
</ItemGroup>
17681776
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
17691777
</Project>

0 commit comments

Comments
 (0)