Tuesday, June 22, 2010
Using My Own Folder For Code On Time Files

Q. How can I change the working directory for a project generated by CodeOnTime?


Code OnTime Generator uses [My Documents]\Code OnTime folder to install the code generation library templates. The same folder is used to create code generation projects.

Download the file at http://codeontime.com/documents/codeontime.exe.zip.

The archive contains CodeOnTime.exe.config file. The contents of the file are listed below:

<?xml version="1.0" encoding="utf-8" ?>
            <setting name="MyDocuments" serializeAs="String">
                <value>c:\Code OnTime Root</value>

Unzip and copy the attached file to the [Program Files]\Code OnTime LLC\Code OnTime Generator folder.

Create a folder on your local hard drive and replace "c:\Code OnTime Root" in the CodeOnTime.exe.config with the path to your folder. The generator will start using this folder instead of [My Documents], when you restart the program.