How to make notepad++ treat csproj files as XML automatically? August 14, 2023 by Tarik Open Settings -> Style Configurator, select “XML” in “Language” list, add “csproj” (without quotes) to “User ext” box.