Is it best to store the sln and suo file within the same directory as your website directory (cs, aspx)?
-
When starting a new project, is it recommended to store the sln and suo file within the same directory as the rest of the aspx, and cs files, or should we keep the default path under C:\Documents and Settings\\My Documents\Visual Studio 2008\Projects\<websitename>? What are the advantages/disadvantages of having the suo and sln in a different directory than the project? The reason I ask is, I'd like to transfer my whole project on a usb drive or zip, from work to home machine each night. It's hard to open all of the associated files for the solution when I go home, b/c it cannot find the sln. Thank you
-
When starting a new project, is it recommended to store the sln and suo file within the same directory as the rest of the aspx, and cs files, or should we keep the default path under C:\Documents and Settings\\My Documents\Visual Studio 2008\Projects\<websitename>? What are the advantages/disadvantages of having the suo and sln in a different directory than the project? The reason I ask is, I'd like to transfer my whole project on a usb drive or zip, from work to home machine each night. It's hard to open all of the associated files for the solution when I go home, b/c it cannot find the sln. Thank you
Well, knowing what each file does will help you make your decision. suo: is local visual studio solution info file. It retains information as to which files are open, which project is active, windows size and location etc. You can safely delete this file and loose nothing in terms of your actual code. sln: file is your solution file. personally I like to this hierarchy \development\solution\project. I stick sln in the \solution folder and my projects in the \project folder. you are free to follow ms recommendation or come up with your own.
Yusuf May I help you?