Remove Hunspell assembly copy and clean steps

The steps for copying and cleaning Hunspell assemblies were removed from the build process. This change simplifies the project file and reduces unnecessary build operations. This should streamline the build and clean targets.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This commit is contained in:
Ivandro Jao 2024-10-01 19:34:12 +01:00
parent b3d025216b
commit 1659ebe1c3

View File

@ -285,14 +285,7 @@
<EmbeddedResource Remove="Forms\GetDictionaries.resx" />
</ItemGroup>
<Target Name="BeforeCompile">
<PropertyGroup>
<HunspellDir>..\..\packages\NHunspell.$(HunspellVersion)\content\</HunspellDir>
</PropertyGroup>
<Copy SourceFiles="@(HunspellAssemblies -> '$(HunspellDir)%(Identity)')" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="True" />
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)\build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
</Target>
<Target Name="BeforeClean">
<Delete Files="@(HunspellAssemblies -> '$(OutputPath)%(Identity)')" />
</Target>
</Project>