Perforce file management and Ranorex C# Solutions

Ask general questions here.
denrone
Posts: 2
Joined: Tue May 31, 2011 5:27 pm

Perforce file management and Ranorex C# Solutions

Post by denrone » Tue May 31, 2011 5:36 pm

Please help.
I am unable to find detailed information regarding exactly which files in each Ranorex Solution need to be submitted to source control (Perforce in my case), and which files/directories should be omitted from source (ie; \Reports).
I am new to C# solutions/projects and new to Ranorex, so any help is appreciated.
Also, do users generally check out the entire solution before working on updates?
Thanks.

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Perforce file management and Ranorex C# Solutions

Post by Ciege » Tue May 31, 2011 7:36 pm

Are you using Visual Studio or Ranorex Studio for your development?

I use Visual Studio, so my answer may vary slightly for Ranorex Studio but it should be quite similar.

For the most part you can just add the project folder to your source control as it will be able to manage all the files within it. You don't need to control the reports folder unless you want to keep a history of them. Also, you probably don't need to manage the Bin folder as that contains the latest build of the code.

The way we work here is we check each entire project into source control (we do not keep reports in the project so I don't have to worry about that). Then when we need to "do work" on any of the automation projects, we check out the project, make changes then check in the changes. Pretty standard management process...
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

denrone
Posts: 2
Joined: Tue May 31, 2011 5:27 pm

Re: Perforce file management and Ranorex C# Solutions

Post by denrone » Tue May 31, 2011 8:30 pm

Thanks for the fast response. I am using the Ranorex Studio.
After some experimentation, it looks like I can safely omit the following from source control:
\<Solution>\<Project>\bin
\<Solution>\<Project>\obj
\<Solution>\<Project>\Reports

Would you agree?
I am not so sure about leaving out \<Solution>\<Project>\obj
Thanks!

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Perforce file management and Ranorex C# Solutions

Post by Ciege » Tue May 31, 2011 8:36 pm

You could probably omit the Obj folder if you want.

This MSFT thread sort of explains the folder structure for Visual Studio. I'm assuming it's relatively close to Sharp Develop that Ranorex Uses: http://social.msdn.microsoft.com/Forums ... 84c5208562
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...