By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,246 Members | 2,131 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,246 IT Pros & Developers. It's quick & easy.

Solutions and Projects

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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

"JSheble" wrote:
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

Nov 17 '05 #2

P: n/a
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

"Rothariger" <Ro********@msn.com> wrote in message
news:6C**********************************@microsof t.com...
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

"JSheble" wrote:
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

Nov 17 '05 #3

P: n/a
ooo... thats weird...

"JSheble" wrote:
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

"Rothariger" <Ro********@msn.com> wrote in message
news:6C**********************************@microsof t.com...
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

"JSheble" wrote:
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


Nov 17 '05 #4

P: n/a
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.

"JSheble" wrote:
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

"Rothariger" <Ro********@msn.com> wrote in message
news:6C**********************************@microsof t.com...
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

"JSheble" wrote:
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


Nov 17 '05 #5

P: n/a
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...

"Mark R. Dawson" <Ma*********@discussions.microsoft.com> wrote in message
news:5A**********************************@microsof t.com...
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.

"JSheble" wrote:
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

"Rothariger" <Ro********@msn.com> wrote in message
news:6C**********************************@microsof t.com...
> 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
>
> "JSheble" wrote:
>
>> 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
>>
>>
>>


Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.