Renaming repository item does not update .cs

Ask general questions here.
User avatar
Posts: 89
Joined: Mon Apr 05, 2010 8:44 pm
Location: Austin, Texas

Renaming repository item does not update .cs

Post by Gunner1980 » Wed May 19, 2010 5:58 pm

I am having trouble renaming repository items in v2.3. I am trying to accomplish the following:

Rename repository item

Item = MenuItemTOAD1
Path = contextmenu[1]/menuitem[@accessiblename='TOAD']

rename to

Item = MenuItemC2HOST
Path = contextmenu[1]/menuitem[@accessiblename='C2HOST']

For some reason if I change the item name it does not regenerate the associated .cs files with the new name. If all i change is the path it seems to work however I would like my item names and paths to be in sync. Is this a bug? I really need to be able to rename the paths and the names.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Renaming repository item does not update .cs

Post by Support Team » Thu May 20, 2010 9:44 am


When I change a repository item, (in MyRepo.rxrep) the corresponding file (MyRepo.cs) will be updated after saving the project or compiling the project, regardless if I change the path or item name. But repository items which are used in custom code or "User Code Items" of Ranorex will not be updated, because we don't know if the user modified something.

Ranorex Support Team