Error: A project with that name is already opened in the solution.

4 posts, 0 answers
  1. Jose Simas
    Jose Simas avatar
    35 posts
    Member since:
    Mar 2009

    Posted 18 Jul 2011 Link to this post

    Hi,

    I just installed the latest release of Test (TestStudio_Express_2011_1_712_Purchase) but I cannot create a new Project in Visual Studio. These are the steps:

    1. Open VS 2010 SP1
    2. Create New Project: Choose Telerik Test Studio Project
    3. Change project name (or not the same error happens with the default names)
    4. Press OK

    At this point Visual Studio creates the project and populates the Solution Explorer but after a few seconds I get the following message box:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    A project with that name is already opened in the solution.
    ---------------------------
    OK   
    ---------------------------

    After I press OK I get another message box:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Visual Studio could not open the file "c:\users\XXX\documents\visual studio 2010\Projects\TestStudioProject2\TestStudioProject4\WebTest1.tstest" because the file contains tests. A test can be opened only within a test project. Add the file to a test project, add the test project to the open solution, and then try again.
    ---------------------------
    OK   
    ---------------------------

    After I press OK the Solution Explorer shows the Solution with one project with state unavailable. If I reload the project (using the context menu Reload Project) I get the first message box above.

    I restarted Visual Studio a few times times and repeated the operation with the same results. I can open the DemoTest solution without any problems and run the tests so the framework seems to have been installed properly.

    Jose

    P.S. I notice there is another post with the same problem (Can't create test after installation). Please let me know if you find the solution.
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 18 Jul 2011 Link to this post

    Hi Jose,

    Please confirm which edition of Visual Studio you are running. The Test Studio plugin does not work in the Express Edition (it does not support extensions). You need to have Professional, Premium, or Ultimate.

    The customer you mentioned from the other post has the same issue. This was the first time we encountered it. He has VS Premium edition, however it was still a trial. We asked him to activate his trial to the full VS retail version and reinstall Test Studio. We are awaiting his response. Please confirm whether your copy of VS is activated or still in trial mode.

    Regards,
    Anthony
    the Telerik team
    Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

    Have you looked at the new Online User Guide for Telerik Test Studio?
  3. Jose Simas
    Jose Simas avatar
    35 posts
    Member since:
    Mar 2009

    Posted 18 Jul 2011 Link to this post

    Hi,

    I am running Visual Studio Ultimate retail and never used a trial of Visual Studio in this computer so I gather this is activated (installed from an MSDN iso).

    I can send you the VS about screen info to a private email if it helps at all (I have several other add-ons installed).

    Jose
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 19 Jul 2011 Link to this post

    Hi Jose,

    I will email you directly to your address on file. Please respond to it with a screen shot of your VS about screen. It may take two or more to show all of the "Installed products."

    I searched the error on Google without much luck. This is a very new error to us and we are not certain what causes it nor how to fix it. Hopefully your screen shots compared with the other customer's and our own VS configuration will shed some light on this.

    In the meantime he provided a work-around to get the Test Studio plugin working:

    1.       Create a VS test project.

    2.       Compile.

    3.       Close the project (I closed VS)

    4.       Reopen

    5.       Add Telerik test case



    Greetings,
    Anthony
    the Telerik team
    Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

    Have you looked at the new Online User Guide for Telerik Test Studio?
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!