Check-in Issue with repository file

Experiences, small talk, and other automation gossip.
User avatar
subodh4u7
Posts: 68
Joined: Tue Jan 06, 2015 8:26 am

Check-in Issue with repository file

Post by subodh4u7 » Fri Jul 03, 2015 7:48 am

Hi,

I have some class file and repository (repo.rxrep, repo.cs) which have been updated and automatically Repo.cs file is generated.
I have one xml file where <NamespaceBase>Framework = XXX.Framework</NamespaceBase> is defined which would override the ranorex repository with our framework based repository to get some extra functions.

After building the solution, it is added in the Repo.cs file as
using Framework = E2E_TA.Framework
.
While check-in in source control, its being rejected stating the following error. Have done check-in earlier but never faced issue, so sudden this file started creating problem.

Repo.cs (19): The using alias 'Framework' appeared previously in this namespace
Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateException)Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Regards,
Subodh

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Check-in Issue with repository file

Post by Support Team » Mon Jul 06, 2015 4:30 pm

Hi subodh4u7,

This seems more to be a coding issue and not an issue directly related to Ranorex. That's why I moved the topic to this section.
Can you post your solution or a sample solution which helps us to reproduce the issue?
Which version of Ranorex are you using?

Regards,
Bernhard
.
Image

User avatar
subodh4u7
Posts: 68
Joined: Tue Jan 06, 2015 8:26 am

Re: Check-in Issue with repository file

Post by subodh4u7 » Wed Jul 15, 2015 5:25 am

Thanks Bernhard.
Issue is resolved now. There was some issue with Ranorex license server which was not reachable during check-in. Modified the ranorex lincense server and worked fine.

Regards,
Subodh
Regards,
Subodh