locked
Difference between solution and project in Visual Studio RRS feed

  • Question

  • User460266172 posted

    What exactly are the differences between a Solution and a Project in Visual Studio? How are they related, and when should a solution contain multiple projects?

    Tuesday, March 5, 2013 10:46 AM

Answers

  • User1221318268 posted

    solution may contain different projects.... means if you need to develop an web application in 3-tire archi means u need to create 4 projects for this one web application and three class librarys (Business layer,Entity layer and Data Layer) all this called as project... this all projects should be in one solution

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 5, 2013 10:49 AM
  • User71929859 posted

    Hello,

    What exactly are the differences between a Solution and a Project in Visual Studio? How are they related,

    Solution is a collection of projects.

    when should a solution contain multiple projects?

    When you need to layer your architecure, you usually break them in to projects. (DB, Data access layer, business objects layer, presentation layer, web services layer etc.)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, March 10, 2013 8:42 AM

All replies

  • User1221318268 posted

    solution may contain different projects.... means if you need to develop an web application in 3-tire archi means u need to create 4 projects for this one web application and three class librarys (Business layer,Entity layer and Data Layer) all this called as project... this all projects should be in one solution

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 5, 2013 10:49 AM
  • User71929859 posted

    Hello,

    What exactly are the differences between a Solution and a Project in Visual Studio? How are they related,

    Solution is a collection of projects.

    when should a solution contain multiple projects?

    When you need to layer your architecure, you usually break them in to projects. (DB, Data access layer, business objects layer, presentation layer, web services layer etc.)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, March 10, 2013 8:42 AM