Regenerate CS file using MsBuild

Ask general questions here.
prasoon.jmit
Posts: 17
Joined: Mon Dec 09, 2019 1:37 pm

Regenerate CS file using MsBuild

Post by prasoon.jmit » Tue Apr 27, 2021 3:37 pm

Hi,

In our project we don't store .cs for example for repository.rxrep, we store rxrep file only in GIT not .cs file. I am aware using Ranorex studio we can regenerate .cs file. Is it possible to do that using without Ranorex using MSBuild or some other way?

Thanks,
Prasoon

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6544
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Regenerate CS file using MsBuild

Post by odklizec » Tue Apr 27, 2021 3:50 pm

Hi,

No, that's not possible. CS files are generated by Ranorex Studio from rxrec, rxrep and maybe some others. MSBuild only compiles CS files created by Ranorex.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
Stub
Posts: 439
Joined: Fri Jul 15, 2016 1:35 pm

Re: Regenerate CS file using MsBuild

Post by Stub » Tue Apr 27, 2021 4:24 pm

What Pavel said. We store the Ranorex generated .CS files in our source control system so that we can build our tests with MSBuild.