Page 1 of 1

Perforce file management and Ranorex C# Solutions

Posted: Tue May 31, 2011 5:36 pm
by denrone
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.

Re: Perforce file management and Ranorex C# Solutions

Posted: Tue May 31, 2011 7:36 pm
by Ciege
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...

Re: Perforce file management and Ranorex C# Solutions

Posted: Tue May 31, 2011 8:30 pm
by denrone
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!

Re: Perforce file management and Ranorex C# Solutions

Posted: Tue May 31, 2011 8:36 pm
by Ciege
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