Support for Strongly Typed Resources?

Ranorex Spy, Recorder, and Studio.
swambach
Posts: 7
Joined: Tue Oct 19, 2010 6:31 pm

Support for Strongly Typed Resources?

Post by swambach » Thu Nov 04, 2010 6:20 pm

When in adding a Resource file in visual studio, the IDE automatically generates System.Resources.ResourceManager code and getters for each resource within the Resource file. When adding a resource file in Ranorex Studio, however, you just get the resx file.

Are there any plans to add the automatic code generation for the resource members in a future RS release?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Support for Strongly Typed Resources?

Post by Support Team » Fri Nov 05, 2010 1:31 pm

Hi,

It is possible but it is a bit hidden. :) When you add an resx file to Ranorex Studio, you will find at the properties tab a section named misc. There should be an entry named CustomTool. If you select a option of this setting, the source file for the resx will be generated. In a future release this will be handled automatically.

Regards,
Peter
Ranorex Team
.
Image