*.csproj.rxuser file and version control

Ask general questions here.
vadim
Posts: 14
Joined: Tue Apr 16, 2013 8:22 am

*.csproj.rxuser file and version control

Post by vadim » Wed Jun 25, 2014 1:04 pm

Hi,

Could you please let me know the purpose of *.csproj.rxuser file.
This file is updated automatically with latest time stamps after each close of Ranorex.

Code: Select all

-               lastcodegentimestamp="130477480532313272"
+               lastcodegentimestamp="130481698591113615"
We have several persons who writing tests and we are using Git as version control system.
It is annoying to fix conflicts in this file before each commit/push.
Could we add this file to .gitingore? (after brief view I don't see that this file contains any other important data)
Or is it possible to disable this auto updates of time stamps?

Thanks in advance.
Vadim

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: *.csproj.rxuser file and version control

Post by krstcs » Wed Jun 25, 2014 1:31 pm

Those files contain user-specific information about the project and can be safely ignored in Git. Just add "*.rxuser" to the ".gitignore" file for the git repository.

You can also all report files unless you need to version control them. This will save on git space and keep you from having git show changes when there really weren't any.

This is what I added to my .gitignore.

Code: Select all

# Ranorex Specific files
[Rr]eports
*.rxlog
*.rxlog.data
*.jpg
*.rxuser
Shortcuts usually aren't...

vadim
Posts: 14
Joined: Tue Apr 16, 2013 8:22 am

Re: *.csproj.rxuser file and version control

Post by vadim » Wed Jun 25, 2014 2:17 pm

krstcs, thanks for reply.