Reloading latest from TFS does not add module to project

Bug reports.
andy.simpson
Posts: 21
Joined: Fri Jun 22, 2018 8:59 am

Reloading latest from TFS does not add module to project

Post by andy.simpson » Tue Apr 30, 2019 3:36 pm

Hi,

Currently using Ranorex 9.0.1 with TFS as our source control, seems to be working well enough but have noticed that when either myself or my colleague adds a module and the other gets the latest version then the module is added to the local work space but not added to the project work structure, the only way to get around this is to use the add existing tool to add the module to the correct place. This wasn't an issue prior to the upgrade from 8.3.2 so not sure if this is a bug

any pointers would be appreciated :)

User avatar
N612
Posts: 93
Joined: Mon Jul 11, 2016 4:01 pm

Re: Reloading latest from TFS does not add module to project

Post by N612 » Wed May 01, 2019 9:22 pm

(TL;DR at bottom) Ranorex does not actually do any "source control" itself and for TFVS specifically, it is all handled by Team Explorer in the background. Ranorex uses a tool provided by Microsoft to directly communicate to Team Explorer (MSSCCI). Ranorex Studio is essentially forwarding commands to Team Explorer via MSSCCI to help streamline the process and prevent you from having to open Team Explorer to manage your source control.

Since Ranorex is limited to the capabilities of this old MSSCCI tool that Microsoft does not update (to promote the use of their Team Explorer client), I personally recommend not using the TFVS integration in Ranorex Studio and simply using Team Explorer directly. You will gain many more options and features directly related to TFVS in a client designed purely to manage your TFVS repository.

The only downsides: having to have another window open on your machine (Team Explorer), and not being able to directly manage your source control from Ranorex Studio directly. Microsoft does offer a standalone version of Team Explorer here if you do not wish to install the entire Visual Studio suite.

Now knowing all of the above information, this is very likely not an issue with Ranorex, but with the MSSCCI tool or your TFVS repository settings/configuration which are both out of Ranorex's control. If this is a MSSCCI issue, using Team Explorer directly should resolve this issue. If the issue still occurs when using Team Explorer directly, the issue is with your TFVS repository settings/configuration.

TL;DR: Try using Team Explorer directly instead of the integration with Ranorex Studio.

I hope this helps!

andy.simpson
Posts: 21
Joined: Fri Jun 22, 2018 8:59 am

Re: Reloading latest from TFS does not add module to project

Post by andy.simpson » Fri May 03, 2019 9:56 am

Thanks for the help, I'm aware that the mscci interrogation isn't great i'll have a look :)