Assemblies and Language Data Folders
A deployed application with TX Spell .NET for Windows Forms 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 Windows Forms application named MyApp with the NuGet package TXTextControl.TXSpell.WinForms.SDK 11.0.1, framework-dependent for win-x64:
MyApp.exe
MyApp.dll
MyApp.pdb
MyApp.deps.json
MyApp.runtimeconfig.json
TXSpell.dll
TXSpell.Windows.Forms.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
| File | Contents |
|---|---|
| TXSpell.dll | The spell checking engine, with the classes that work without a user interface, such as TXSpell |
| TXSpell.Windows.Forms.dll | The TXSpellChecker component with its dialogs and menus |
| de\TXSpell.resources.dll | The 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
The four folders Dictionaries, HyphenationLists, SynonymLists and LanguageRecognition hold the dictionaries, the hyphenation lists, the thesaurus files and the data for language detection. The package ships the US English data only; other languages go into the same four folders, on your machine and in the deployment. Installing Dictionaries and Language Data describes the folders and the properties behind them. 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, or, on a development machine, the ones below the Assembly folder of the installation. To use another folder, for example one shared by several applications, set the folder properties before the first check, as Where the Spell Checker Looks shows.
Next Steps
- Publishing .NET Applications: create the publish folder shown above.
- Redistribution Overview: what you may ship, and what never ships.
- Loading and Managing Dictionaries: load dictionaries from other places in code.