Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aim/Goal

  • The aim of this project is to develop simple tools and procedures to help developers keep their projects and code in conformity with a set of predefined standards.

  • Create tools and procedures to easily check existing (legacy) projects against a set of predefined standards.

  • Create tools and procedures to help developers create new projects that conform with predefined standards.

Why?

  • The code we write and the projects we create should be regarded as highly valuable. If you see your project as important you will want to make sure it is properly maintained.

Making it easy to maintain is really what this project is all about.

Introduction

One would think that the tooling to check a project "integrity" was well established by now in the .NET eco system.

We have not found this to be the case. We are creating this project to try and resolve this issue or at leas give some pointers on how this can be achieved.

  • Everything needs to be automated.
    • From creating a project with "batteries included" and the correct folder structure
    • To building and deploying the libraries.
  • Everything should be as simple and quick as possible.

Creating a project with "batteries included"

Please see: https://github.com/Orcomp/SolutionGenerator

  • Stylecop settings
  • Resharper settings
  • Build and deployment scripts
  • gitignore
  • gitattributes
  • Correct project structure

Project structure

Coding Standards

We follow 99.9% of the standards outline here: https://csharpguidelines.codeplex.com/

The only differences are:

  • Use underscores for private fields (private string _myString;)
  • Remove This. keywords
  • Use regions as little as possible. (I Hate #Regions VS extension.)

Repository

You must have Stylecop installed. If not install it and restart your computer.

Links:

Recommended software

About

Coding standards, gitignore file, stylecop settings and directory structure

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors