Why organize projects inside a src folder?

后端 未结 2 1863
别那么骄傲
别那么骄傲 2021-02-18 20:07

First of all, I would like to make it clear that I know that the src folder is not required. Indeed, one can simply create manually one directory for the project, m

相关标签:
2条回答
  • 2021-02-18 20:28

    You usually have more files inside your project that are not source code related like:

    • README.md
    • CONTRIBUTING.md
    • .gitignore
    • LICENSE
    • Build scripts
    • Docs and tools folders, etc.

    And a tons of others files that depend on your configuration. So, if you have a src folder, you don't need to mix your source code files with those.

    0 讨论(0)
  • 2021-02-18 20:35

    because you may have your code in src folder (class libraries, etc), test in your test folder, documentation in a documetation folder

    in global.json you specify which folders does roslyn pick for compiling.

    0 讨论(0)
提交回复
热议问题