Last post Aug 29, 2019 02:24 AM by samwu
Aug 28, 2019 06:07 PM|JORGEMAL|LINK
I have seen several old questions about the placement of project and solution file when creating a new project in Visual Studio and I want to ask such a question regarding VS 2019.
What is a good practice? Do practices for older versions of VS apply to VS 2019?
I generally have one project per solution (I am talking about ASP.NET Core projects and/or MVC projects).
Aug 28, 2019 06:20 PM|mgebhard|LINK
There's no way to provide a "good practice" suggestion without knowing a bit about your project. In my professional life, I have never worked in a VS solution that contained a single project. Usually I end up with a few class libraries and at least two
web applications. One being the UI and the other a service.
Do practices for older versions of VS apply to VS 2019?
Can you elaborate on the "practices" for older versions of VS? As far as I know, the solution file has worked similarly in every version of VS I've used going back to VS 2002.
Aug 28, 2019 06:30 PM|JORGEMAL|LINK
After doing some tests, it seems that NOT placing project and solution files in the same folder provides a better way of organization when working with more than one project as each project will have its own folder within the "solution folder". What I see
is that there is one folder for the solution and, inside of it, one folder per project. This looks much better, cleaner and organized.
Aug 29, 2019 02:24 AM|samwu|LINK
Hi JORGE MALDONADO,
A solution file is a container for projects, and tracks dependencies between projects.
It usually contains multiple projects, as well as some project references and class libraries.
More information about projects and solution you can refer to this link: