[Bug] Template csproj doesn't follow .editorconfig #1192
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
The .editorconfig provided in templates specifies 4 spaces in csproj, while the csproj in template uses 2 spaces.
Either .editorconfig should set indent_size to 2 for csproj, or csproj should match .editorconfig and use 4 spaces.
Note: VS default is to use 2 spaces which is more commonly used. So I'd strongly suggest to modify .editorconfig and not the csproj.
Note 2: The same probably applies to props/targets
Expected behavior
No discrepancy between .editorconfig and files that are part of the template. Creating a new project from template and invoking format command in VS should produce ZERO changes.
Affected platforms
No response
Template Host
dotnet new, but likely all others suffer the same issue.
Host OS
Windows, but likely all OSes suffer the same issue.
Template Options
Any template and any options
The text was updated successfully, but these errors were encountered: