.editorconfig doesn't work in Visual Studio 2017 when my sotution is not on my C: drive?
I added the file .editorconfig
to my base folder for the solution, but Visual Studio 2017 continues to use its settings, but this only happens when the solution folder is not on the C: drive (if the solution folder is in the C: folder, the drive .editorconfig
works fine).
I also tried adding a file .editorconfig
to each project of the solution, but still the same question.
Note that I have root = true
in my .editorconfig
file.
I am using the following version of Visual Studio:
Microsoft Visual Studio Community 2017 version 15.2 (26430.06)
source to share
I somehow figured out how to solve this problem.
My solution folder had a parent-named folder between square brackets []
like this [ParentFolderName]
, so I removed the square brackets and everything worked as expected.
For whatever reason the configconfig file does nothing when the solution folder has a parent folder named between square brackets. The IDE (in my case Visual Studio 2017) uses its settings.
source to share