TX Spell .NET for WPF

Assemblies and Language Data Folders

Topic

A deployed application with TX Spell .NET for WPF is a folder: your executable, two assemblies of TX Spell .NET, a folder with the German dialog texts and four folders of language data. Here is every file of that folder, where it comes from, and how to keep the language data somewhere else.

A Published Application

This is the publish folder of a .NET 8 WPF application named MyApp with the NuGet package TXTextControl.TXSpell.WPF.SDK 11.0.1, framework-dependent for win-x64:

MyApp.exe
MyApp.dll
MyApp.pdb
MyApp.deps.json
MyApp.runtimeconfig.json
TXSpell.dll
TXSpell.WPF.dll
de\
    TXSpell.resources.dll
Dictionaries\
    en_US.aff
    en_US.dic
    README_en_US.txt
HyphenationLists\
    hyph_en_US.dic
LanguageRecognition\
    languageRecognition.resources
SynonymLists\
    th_en_US_v2.dat
    th_en_US_v2.idx

The files of MyApp are those of your project; everything else comes from the package, which copies it into the build and publish output.

The Assemblies

FileContents
TXSpell.dllThe spell checking engine, with the classes that work without a user interface, such as TXSpell
TXSpell.WPF.dllThe TXSpellChecker component with its dialogs and menus
de\TXSpell.resources.dllThe German texts of the dialogs, used when the user interface culture of the application is German

The package contains the assemblies for .NET 8, whose files have the version 11.0.1000.500. Texts in other languages are satellite assemblies you create with the Resource Kit, each in a folder named after its two-letter language code, such as fr; see Localization and Resource Kit.

The Language Data Folders

Dictionaries, HyphenationLists, SynonymLists and LanguageRecognition hold the dictionaries, the hyphenation lists, the thesaurus files and the data for language detection; The Four Folders describes them. The package ships the US English data only. Other languages go into the same four folders, on your machine and in the deployment, as Add Other Languages shows. Keep README_en_US.txt with the dictionary; it holds the license and credits of the US English dictionary.

Where the Folders Come From

  • With the NuGet package, the build copies the folders and assemblies into the output folder, and Publish into the publish folder. See Package Overview.
  • With the setup, the files are in the Assembly folder of the TX Spell .NET installation, which has the four language data folders as subfolders. You copy them yourself; see Deploying .NET Framework Applications.

Keep the Language Data in Another Folder

By default, the spell checker uses the four folders next to the application. To keep the language data somewhere else, for example in a folder shared by several applications, set the folder properties of the spell checker before the first check, as Where the Spell Checker Looks shows. The folders you set must exist on the user's machine.

Next Steps