Skip to content

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Sep 16, 2025

Ensure all .csproj files have normalized whitespace.

Changes

  • Remove trailing whitespace (via regex [ \t]+$).
  • Ensure all files end with exactly one newline.
  • Ensure encoding is UTF-8 with no byte-order mark

Motivation

The repository's .editorconfig specifies:

trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8

Many editors enforce these settings automatically. Without normalizing the existing .csproj files, unrelated whitespace changes can show up in otherwise unrelated PRs.

By cleaning this up now, we reduce noise and friction in future contributions.

Notes

  • Only whitespace was modified.
  • No resource content or functional changes were made.
  • A Python script was used to apply the newline changes.
  • Excluded src/tests.

Review with whitespace changes hidden

@dotnet-policy-service dotnet-policy-service bot added linkable-framework Issues associated with delivering a linker friendly framework community-contribution Indicates that the PR has been added by a community member labels Sep 16, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@xtqqczze xtqqczze marked this pull request as draft September 16, 2025 21:29
@xtqqczze xtqqczze marked this pull request as ready for review September 16, 2025 21:42
@stephentoub
Copy link
Member

Thank you for your interest in contributing this. However, reviewing more than a thousand files, and incurring change history for more than a thousand files, just for normalization of whitespace, is not something we're going to entertain right now.

@xtqqczze
Copy link
Contributor Author

d59c66b: Avoid reformatting the runtime tests as they almost never updated. This significantly reduces the volume of changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure-libraries community-contribution Indicates that the PR has been added by a community member linkable-framework Issues associated with delivering a linker friendly framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants