Repo throwing error message

Ask general questions here.
Rajendra
Posts: 32
Joined: Wed Sep 28, 2011 1:57 pm

Repo throwing error message

Post by Rajendra » Thu Sep 26, 2013 11:12 am

Hi Team,

I have created a project with "ExampleOne" as a project name.

Now I just want to create another project(almost like ExampleOne) name with "ExampleTwo" as project name. I have renamed entire project "ExampleOne" >> to >> "ExampleTwo".
whenever I compile the project 2 then I am getting following error message "The type or namespace name 'ExampleTwoRepository' could not be found (are you missing a using directive or an assembly reference?) (CS0246) - D:\VL\ExampleOneLibrary\ExampleOneLibrary\Program.cs:58,17"

Please help me out.

Thanks,
Raj

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

Re: Repo throwing error message

Post by mojohlic » Thu Sep 26, 2013 10:21 pm

Did you check that you namespace inside of the files were ExampleTwo?

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

Re: Repo throwing error message

Post by krstcs » Fri Sep 27, 2013 1:34 pm

Copying files like that in Ranorex will not work.

All test objects (projects, recordings, variables, repo-objects, etc.) are identified by a GUID behind the scenes.

You must create a new Project, a new Recording, etc., in order for it to work correctly.
Shortcuts usually aren't...

Rajendra
Posts: 32
Joined: Wed Sep 28, 2011 1:57 pm

Re: Repo throwing error message

Post by Rajendra » Fri Oct 04, 2013 1:40 pm

Thank u.

Problem Solved. I created a new project as u suggested.