Last minute important installation notes for CodeRush 2.0

ctodx
17 June 2006

If you're doing a fresh install on a machine that never had CodeRush 1.x on it, then you can skip the rest of this message and enjoy your morning coffee and watch the world go by.

If you're installing CodeRush  2.0 on a machine that previously had CodeRush 1.0 installed, follow the steps below to ensure that you get the new 2.0 templates (this is essentially a re-post of information that has appeared in threads on our newsgroups). There is also a six-minute training video that takes you through these steps (click the "Merging Templates" link on the http://www.devexpress.com/CodeRushTraining page).

1. If you've modified existing templates or added your own custom templates, make sure those are inside their own category folder (it's okay to have subfolders inside). If you have not touched the existing templates, then you can skip ahead to step 7.

2. Inside the Templates options page, select the folder that holds your templates, and then right-click this folder.

3. Select "Export Folder..."

4. Give the folder a meaningful name (e.g., "MyBasicTemplates.xml" or "MyCSharpTemplates.xml") and click Save.

5. Repeat steps 2-4 for any additional languages you work in (use the Language combobox at the bottom-left of the options dialog to view templates for other languages).

6. Click OK to close the Options dialog.

7. Exit Visual Studio.

8. Inside Windows Explorer, navigate to this folder:

C:\Documents and Settings\{Profile}\Application Data\CodeRush for VS .NET\1.1\Settings\Editor\Templates

Where {Profile} is the name you logged in as.

9. Inside this Templates folder, create a subfolder and call it "Backups".

10. Move these four files into the newly created Backups folder:

    templates.Basic.bin
    templates.Basic.xml
    templates.CSharp.bin
    templates.CSharp.xml
    templates.CC++.bin
    templates.CC++.xml

Be sure to *move* these files. When CodeRush starts and attempts to load templates, it will look for these files. If not found, CodeRush will load templates from the installation folder (inside C:\Program Files). That's how you will get the new 2.0 templates.

11. Install the latest version of CodeRush if you haven't done so already.

12. Start up Visual Studio. If you skipped ahead to step 7 earlier, you're done. Otherwise, continue on to import your templates....

13. From the DevExpress menu, select "Options...".

14. In the tree view on the left, navigate to this folder:

    Editor

15. Select the "Templates" options page.

16. Right-click the templates shortcut list and choose "Import Templates...".

17. Select the files you exported in steps 2-4 and click Open.

18. Repeat steps 16-17 for each language file exported earlier.

19. Click OK on the Options dialog to close it.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.