Solutions and Projects

  • Thread starter Thread starter JSheble
  • Start date Start date
J

JSheble

I don't know if this is the correct newsgroup, if not, please excuse me...
When a project is part of a solution, is there anyway to just open the
project, bypassing the solution? When I try to open a project, it always
opens the whole solution, which is fine is some cases, but in others where
there are 3-4 projects in a solution, I'd much rather just deal with the
single project. I supposed I can create a new solution, then add an
existing project to it, but this seems a bit cumbersome...

Thanx
 
when you open a project (*.csproj) it open only the project, if you open
(*.sln) youre opening the solution, this opens all the projects that are
included in the solution...

every time i open a *.csproj this open only the project, and when i want to
run it, it ask me to create a solution file...

salute
 
Whenever I open a project (*.csproj), if it's part of a solution, it opens
the whole solution, which I do not want it to do
 
This is happening because your projects are probably living inside the folder
where the solution lives i.e.

MyFolder
--> Solution Folder
----> Project 1
----> Project 2

If you try to open project1 or two and they are part of the solution then
visual studio will traverse up the directory structure (it seems) and find
the solution and open it. To stop this you should save your projects not
under the location where the solution file is stored i.e.

My Folder
--> Solution X
--> Project 1
--> Project 2

This way when you open Project1 or Project2 and they are part of the
solution it will not open.

Hope that helps.
Mark.
 
It does, and that's exactly how my folder structure falls... made the most
sense directory wise... now if there was an option to prevent the directory
traversing...

Thanx...
 
Back
Top