Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2010 - A project with that name is already opened in the solution

The problem started after installing RiaServices Toolkit Dec 2010 (I guess).

If I unload the project and reload it again, I get this message, even on an empty project (any type - no changes made to the project file).

Unloaded d:\users\carlucci\documents\visual studio 2010\Projects\ConsoleTestApp\ConsoleTestApp.Cmd\ConsoleTestApp.Cmd.csproj.

Loading d:\users\carlucci\documents\visual studio 2010\Projects\ConsoleTestApp\ConsoleTestApp.Cmd\ConsoleTestApp.Cmd.csproj ...
d:\users\carlucci\documents\visual studio 2010\Projects\ConsoleTestApp\ConsoleTestApp.Cmd\ConsoleTestApp.Cmd.csproj : error  : A project with that name is already opened in the solution.
like image 313
andrecarlucci Avatar asked Jan 03 '11 12:01

andrecarlucci


People also ask

How do I add an existing project to a solution in Visual Studio?

In Solution Explorer, select the solution. On the File menu, point to Add, and click Existing Project. In the Add Existing Project dialog box, locate the project you want to add, select the project file, and then click Open. The project is added to the selected solution.

What is the difference between project name and solution in Visual Studio?

A project is contained within a solution. Despite its name, a solution isn't an "answer". It's simply a container for one or more related projects, along with build information, Visual Studio window settings, and any miscellaneous files that aren't associated with a particular project.

How do I create a Visual Studio project from an existing code?

On the File menu, select New > Project From Existing Code. Specify your project location, the directory for your source files, and the kinds of files the wizard imports into the new project. Choose Next to continue.


1 Answers

I had a similar problem in VS2010, but not related to the RiaService toolkit.

My solution was to delete the .suo file in the solution directory.

like image 146
Nick Josevski Avatar answered Sep 18 '22 06:09

Nick Josevski