-
Notifications
You must be signed in to change notification settings - Fork 0
Coding and Standards
Damian edited this page Dec 17, 2020
·
1 revision
Xeno Innovations follows a mix of traditional and modern coding standards in our projects.
- We use
.editorconfig
style for enabling automatic code formatting. - Spacing
- Replace Tabs with Spaces
- Indent Size: 2 spaces
- Private fields must begin with an
_
(underscore) - Classes, Methods, and Properties are CamelCase and must not contain underscores.
- Class names must match the file name
- Only one class per-file
Projects (.csproj
) that use the .NET Standard should include the following flag to disable the auto-creation of the sub-folder, netstandardX.X
. After applying the change, projects will be built in the folder specified and not, SomeFolder\netstandard2.0
or SomeFolder\netcoreapp3.1
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
Git Commands
DevOps Helpers