Creating and updating the index file

Each time you build a dictionary from the source files in the repository, it is desirable for each resource to have the same resource ID. The index file is a special file stored in the repository that is used to maintain consistent resource IDs in your dictionary. It stores a list of all resources and their corresponding resource IDs.

Typically, the index file is created and managed by the person responsible for producing production builds of your dictionary. Having one person manage the index file ensures that its content remains consistent.

The index file is stored in the Admin directory of the repository. We recommend that you limit write access to this directory to only those users you want to update the index file.


Creating the index file

To create the initial version of the index file, be sure that you have a complete dictionary that was built from the latest source files in the repository. This dictionary will serve as your baseline. To create the index file, point to Source Control in the Explorer menu and choose Update Index File. The index file will be created based on the current dictionary and checked into the repository.

The Update Index File menu item will be available only if you have marked the Enable Administrative Features option in the Source Control tab of the Options window.


Updating the index file

You will typically update the index file after you have created a production build of your dictionary. This is the best time to update the index file, because the dictionary will be in a complete and consistent state. To update the index file, point to Source Control in the Explorer menu and choose Update Index File. A new revision of the index file will be checked into the repository.


Documentation Feedback