VS Project config questions
1. Is it bad to enable "Place solution and project in the same folder"? It sounds neater to me but why is it an option?
2. "Do not use top level statements". What's that mean? what's a top level statement? why enable/leave this disabled?
4 Replies
1. i don't bother, because it will cause issues if you ever want to add additional projects
2. https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/top-level-statements
not only do i not put the project in the same folder, i add another
src
level so all project folders are in a src
directoryi did realise this, like if i wanted to add a frontend with angular then throwing this in would be a good idea and helps it all stay separate
how come?
it makes the overall repository structure better
usually the top level of a repo will have
src
, docs
, examples
, etcahhh ok
neat