Align csproj formatting with SarifMark reference and enable TreatWarningsAsErrors#90
Merged
Malcolmnixon merged 3 commits intomainfrom Feb 5, 2026
Merged
Conversation
…rningsAsErrors Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Contributor
|
@copilot Please us consistent lowercase 'true' for csproj files |
Copilot
AI
changed the title
[WIP] Fix csproj file formatting and quality settings
Align csproj formatting with SarifMark reference and enable TreatWarningsAsErrors
Feb 5, 2026
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Standardizes csproj configuration across both main and test projects to match the SarifMark reference implementation. Enables strict warning enforcement and documentation generation with consistent formatting conventions.
Key changes:
TreatWarningsAsErrorsandGenerateDocumentationFilein both projectsPackageTags,Copyright,Title, andProductpropertiesEmbedUntrackedSourcesfor better debugging supportLangVersionto12(from12.0) and enforced consistent lowercasetruefor all boolean valuesAssemblyInfo.csType of Change
Related Issues
References issue requesting SarifMark-style configuration and TreatWarningsAsErrors enforcement.
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration ReleaseCode Quality
dotnet format --verify-no-changesQuality Checks
Please run the following checks before submitting:
cspell "**/*.{md,cs}"markdownlint "**/*.md"yamllint '**/*.{yml,yaml}'Testing
Documentation
Additional Notes
Build now enforces zero warnings across all target frameworks (net8.0, net9.0, net10.0). All 109 tests pass with stricter quality settings enabled. All boolean values in csproj files now consistently use lowercase
truefor improved formatting consistency.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.