Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Is it best to store the sln and suo file within the same directory as your website directory (cs, aspx)?

Is it best to store the sln and suo file within the same directory as your website directory (cs, aspx)?

Scheduled Pinned Locked Moved ASP.NET
csharpvisual-studiojsonquestion
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pzn3xq
    wrote on last edited by
    #1

    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

    Y 1 Reply Last reply
    0
    • P pzn3xq

      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

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups