Last minute important installation notes for CodeRush 2.0

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.

9 comment(s)
Roaan Vos
You guys are brilliant.
Its a Saturday and I mailed support with my problem that the new templates don't work. I only expected an answer on Monday, and lo and behold, my RSS reader tells me Developer Express has a new item "Last minute important installation...".
I do what you say and wham, my templates work.
One very happy customer :D
17 June, 2006
Julian Bucknall (DevExpress)
Roaan

What? You think we have weekends off?

<g>

Cheers, Julian
17 June, 2006
Jonathan Allen
If I already own Refactor, is their a discount for getting CodeRush? I'm
asking because I don't see it listed separately.


17 June, 2006
ISerializable - Roy Osherove's Blog
Through Kim's blog, I've found out that CodeRush and Refactor 2.0 have finally been released. You can...
18 June, 2006
ISerializable - Roy Osherove's Blog
Through Kim's blog, I've found out that CodeRush and Refactor 2.0 have finally been released. You can...
18 June, 2006
Aaron
Also, if you have problems with intellisense (jic you're still using it) expanding to soon with the new dynamic templates (like w/ fl. for example, or s=) go to your Tools>Options>TextEditor>C#>Intellisense and remove ? . and = from the copmletion list
18 June, 2006
Miha Markic
IMO upgrade process should be built into setup itself. Perhaps it is just me :-P
20 June, 2006
Son
I think this is nice software
2 February, 2007
Travis Falls

I can't find the link to download CodeRush 2.0... :-(  I want to try it... I am evaluating this and Resharper...

29 August, 2007

Please login or register to post comments.