This is a migrated thread and some comments may be shown as answers.

Project references path - Test Studio vs. Command Line

5 Answers 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 08 Nov 2012, 07:38 PM
We have a helper .dll that we recently wrote.  We put it in a shared location relative to the projects that will be referencing it:

    \team1
        \project1
        \project2
    \team2
        \project1
    \shared
        \bin
            TestHelper.dll

When you add a reference to the .dll from the project settings, the reference gets added as a relative reference like this "..\shared\TestHelper.dll".  The project reference works well and we can reference classes in the .dll - good stuff.

We have a problem though, when we try to run test lists from that project in our continuous integration environment (i.e., from the command line) - compilation errors complaining TestHelper.dll can't be found.  What we found was that we need to change the project reference to go up one more directory level, like this "..\..\shared\TestHelper.dll".

The problem is we have to edit the XML by hand to add the extra level and when we do, it breaks the Test Studio project - it now gets the compilation errors.  We can leave references to both in the project, but that is messy and difficult to communicate to the users (we have a lot of them).

Anybody else seen this issue - any suggestions?  I tried to add the "root=" option to the command line, but no luck.

5 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 12 Nov 2012, 10:57 PM
Hi David,

I'd like to look at this problem on your CI server via GoToMeeting, specifically with it in the "broken" state i.e. you get the compile errors on the CI server. Let me know your availability and I'll setup the meeting.

All the best,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
David
Top achievements
Rank 1
answered on 13 Nov 2012, 02:13 AM
Thanks Cody -

I can be available any time tomorrow (11/13) except 12-3 eastern.  Let me know what works for you...

    -- David.
0
Cody
Telerik team
answered on 13 Nov 2012, 11:34 PM
Hello David,

I have been able to reproduce this problem. I have filed a bug on it here.

Kind regards,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Accepted
Cody
Telerik team
answered on 15 Nov 2012, 03:33 PM
Hi David,

Good news, we just fixed this bug in our source code. It will be included in our next Service Pack release which will go public at the end of this month. Since you've come up with your own temporary work around, I don't see a need for us to send you a custom build, correct?

Greetings,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
David
Top achievements
Rank 1
answered on 15 Nov 2012, 04:15 PM
Great news, thanks Cody - yes, we can wait for the service pack...
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Cody
Telerik team
David
Top achievements
Rank 1
Share this question
or