Q. How can I change the working directory for a project generated by CodeOnTime?
A.
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 /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" ?>
<configuration>
<configSections>
..............
</configSections>
<applicationSettings>
<CodeOnTime.Properties.Settings>
<setting name="MyDocuments" serializeAs="String">
<value>c:\Code OnTime Root</value>
</setting>
</CodeOnTime.Properties.Settings>
</applicationSettings>
</configuration>
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.