How to use EditorConfig to all the C# projects located in all folders and it's sub-folders

TejaSai-Varma Borukati 0 Reputation points
2024-06-14T07:11:39.94+00:00

Hi Team,

I configured editorConfig file and now I want to refer this to my all C# projects in Multiple folders and it's sub folders

My requirement is I want to place this file in one common path and all the C# projects should refer this ?

Any way to do this without modifying any .cspoj files and not placing the editorConfig in all the root folders? please let me know

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,877 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shirley835 0 Reputation points
    2024-06-14T07:18:20.85+00:00

    Place your .editorconfig in a shared parent directory; it will apply to all C# projects within that hierarchy without altering .csproj files.

    Regards,

    panoramacharter

    0 comments No comments