Home All Groups Group Topic Archive Search About

How does VS2005 figure out which .sln file to load??

Author
13 Sep 2006 8:04 AM
Søren M. Olesen
Hi

I have two versions of a project placed under:

wwwroot\Version1\webapp
wwwroot\Version2\webapp

If in VS2005 I choose Open Web Site and open the Verson1 site, then VS2005
somehow figure out that it has to open the .sln file placed under:

C:\Documents and Settings\...\My Documents\Visual Studio
2005\Projects\webapp

and if I choose to open Version 2, the it opens the .sln file placed under:

C:\Documents and Settings\...\My Documents\Visual Studio
2005\Projects\webapp (1)

but how does VS2005 figure out which .sln file to open?? and more important
how do I make it open the correct .sln file if I choose to rename the folder
to lets say:

C:\Documents and Settings\...\My Documents\Visual Studio
2005\Projects\webapp.Version1

TIA

Søren

Author
13 Sep 2006 12:23 PM
Cowboy (Gregory A. Beamer)
The .sln files are scanned both for name match and for location of the
project.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
Show quote
"Søren M. Olesen" <smole***@hotmail.com> wrote in message
news:u7IwXtw1GHA.4972@TK2MSFTNGP03.phx.gbl...
> Hi
>
> I have two versions of a project placed under:
>
> wwwroot\Version1\webapp
> wwwroot\Version2\webapp
>
> If in VS2005 I choose Open Web Site and open the Verson1 site, then VS2005
> somehow figure out that it has to open the .sln file placed under:
>
> C:\Documents and Settings\...\My Documents\Visual Studio
> 2005\Projects\webapp
>
> and if I choose to open Version 2, the it opens the .sln file placed
> under:
>
> C:\Documents and Settings\...\My Documents\Visual Studio
> 2005\Projects\webapp (1)
>
> but how does VS2005 figure out which .sln file to open?? and more
> important how do I make it open the correct .sln file if I choose to
> rename the folder to lets say:
>
> C:\Documents and Settings\...\My Documents\Visual Studio
> 2005\Projects\webapp.Version1
>
> TIA
>
> Søren
>

AddThis Social Bookmark Button