Skip to content

Add repo-wide engineering standards (.editorconfig, SDK pinning, Directory.Build.props) #34

@cursor

Description

@cursor

Problem

The repo lacks common .NET engineering standards files:

  • No .editorconfig for consistent formatting
  • No global.json to pin the .NET SDK version
  • No Directory.Build.props for shared MSBuild settings (nullable, analyzers, package versions)

This can lead to inconsistent formatting and build differences across machines/CI.

Proposed solution

  1. .editorconfig — C# formatting, indent, newline rules (use dotnet defaults as baseline)
  2. global.json — pin SDK to 8.0.x (match CI dotnet-version: 8.0.x)
  3. Directory.Build.props — centralize:

Acceptance criteria

  • .editorconfig committed at repo root
  • global.json pins SDK version used in CI
  • Directory.Build.props reduces duplication between csproj files
  • CI and local builds use the same SDK constraint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions