How to include Repository and generated c# files in VS2008?

Best practices, code snippets for common functionality, examples, and guidelines.
gisiman
Posts: 8
Joined: Sat Jan 02, 2010 6:34 pm

How to include Repository and generated c# files in VS2008?

Post by gisiman » Sun Jan 03, 2010 4:43 pm

how to include repository *.rxrep and generated c# *.repository.cs file to vs2008 solution tree?

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

Re: how to include Repository *.rxrep and generated c# cs file?

Post by Support Team » Mon Jan 04, 2010 10:57 am

Hi gisiman!

1.) Open your Visual Studio project, right click on the project node and select 'add existing items'
2.) Select the repository '.rxrep' and '.cs' files (now the files are included in your VS project)
3.) Right click on the 'reference' node and include the missing dll`s (i.e. Ranorex.Core; System.Drawing...)

Now you`re able to open the .rxrep or .rxrec files with our standalone tools (Ranorex Spy or Ranorex Recorder) within Visual Studio (right click-> open with).

At the moment it`s only possible to open Ranorex specific code within Visual Studio by our Standalone (External) Tools but VS-Plugins are on our feature request list.

Best regards,
Christian
Ranorex Team
.
Image