Skip to content

Instantly share code, notes, and snippets.

@awright18
Forked from davidfowl/dotnetlayout.md
Last active July 18, 2017 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awright18/e6f4243011c5deeb78dffdc9efd81e86 to your computer and use it in GitHub Desktop.
Save awright18/e6f4243011c5deeb78dffdc9efd81e86 to your computer and use it in GitHub Desktop.
.NET project structure
$/
  .vscode/
  .fake/
  .nuget/
    nuget.exe
    nuget.config
  .paket/
    paket.bootstrapper.exe
    paket.targets
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  source/
  tests/
  .editorconfig
  .gitignore
  .gitattributes
  build.cmd | build.bat
  build.fsx | build.csx | build.ps1
  build.sh
  LICENSE
  packet.dependencies
  pakcet.lock
  appveyor.yml
  travis.yml
  README.md
  {solution}.sln
  • source - Main projects (the product code)
  • tests - Test projects
  • docs - Documentation stuff, markdown files, help files etc.
  • samples (optional) - Sample projects
  • libraries - Things that can NEVER exist in a nuget package
  • artifacts - deployable build artificats (npkg, exe, dlls, pdbs) does not include intermediate build output
  • packages - NuGet packages
  • build - Build output not build scripts
  • build.cmd - Bootstrap the build for windows
  • build.sh - Bootstrap the build for *nix

.gitignore

[Oo]bj/
[Bb]in/
.nuget/
.fake/
_ReSharper.*
packages/
artifacts/
*.user
*.suo
*.userprefs
*DS_Store
*.sln.ide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment