Visual Studio Project vs. Solution

前端 未结 10 2180
被撕碎了的回忆
被撕碎了的回忆 2020-12-12 18:48

Being new to VS, how may I think of these two concepts, what is the difference?

10条回答
  •  清歌不尽
    2020-12-12 19:23

    It doesn't help that Visual Studio seems to make things more confusing. "New Project" actually creates a new SOLUTION containing a project. "Open Project" actually opens a solution containing one (or many) project. (The file menu says "Open Project/Solution" but it really is opening solutions. There is no "Close Project" only "Close Solution" which is accurate.

    So, in VS you are always working within a solution. Many solutions contain only one project and newer developers are likely to think of them as the same thing. However you can add other projects into a solution.

提交回复
热议问题