Coding Guidelines for C# (up to version 7.3)
See the landing page at https://www.csharpcodingguidelines.com
How to create the PDFs
- From the root of the repo, run the
build.batscript to build the HTML versions of the guidelines and cheat sheet.
- From the
Artifactsfolder, open the
CSharpCodingGuidelines.htminto your favorite browser and print as PDF. Use the default margins, no headers and footers, and set the scaling to 80% for A4 sheets.
- Do the same for the
CSharpCodingGuidelinesCheatsheet.htm, but use landscape orientation and minimum margins. A scaling of 84% should allow you to print the cheat sheet as a double-sided A4 sheet. Just make sure you disable headers and footers, and enable printing background graphics to keep the colored boxes with auxiliary information.
How to build this site
- Ruby 2.4.x (note: 2.5 and higher may fail due to the
ffiruby lib only supporting < 2.5)
- Ruby DevKit
gem install bundler)
- Clone this repository
cdinto the root of the repository
bundle exec jekyll serve