Skip to content

Instantly share code, notes, and snippets.

@explorest
Forked from davidfowl/dotnetlayout.md
Created June 24, 2021 04:58
Show Gist options
  • Select an option

  • Save explorest/013ee11f2555bd353a667611ff58d93c to your computer and use it in GitHub Desktop.

Select an option

Save explorest/013ee11f2555bd353a667611ff58d93c to your computer and use it in GitHub Desktop.
.NET project structure
$/
  src/
  test/
  samples/
  artifacts/
  packages/
  build/
  .gitignore
  .gitattributes
  {solution}.sln
  NuGet.config
  build.cmd
  build.sh
  • src - Main projects
  • test - Test projects
  • samples - Sample projects
  • artifacts - Transient build artifacts
  • packages - NuGet packages
  • build - Build customizations (custom msbuild files/psake/fake/albacore/etc) scripts
  • build.cmd - Bootstrap the build for windows
  • build.sh - Bootstrap the build for *nix

.gitignore

[Oo]bj/
[Bb]in/
.nuget/
_ReSharper.*
packages/
artifacts/
*.user
*.suo
*.userprefs
*DS_Store
*.sln.ide

There's probably more things that go in the ignore file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment