csharpier
csharpier copied to clipboard
Stop checking inside bin/obj folder for formatting
We have xml documentation files being generated on build
<GenerateDocumentationFile>true</GenerateDocumentationFile>
This causes the following build errors when using the MSBuild integration
C:\Repos\x\src\WebUI\xx\bin\Debug\net9.0\[csproj].xml : error : Was not formatted.
C:\Repos\x\src\WebUI\xx\bin\Debug\net9.0\[csproj].xml : error : Was not formatted.
C:\Repos\x\src\WebUI\xx\bin\Release\net9.0\[csproj].xml : error : Was not formatted.
All of my testing indicates that CSharpier already works this way, bin and obj are part of the always ignore list in https://github.com/belav/csharpier/blob/main/Src/CSharpier.Cli/IgnoreFile.cs
Do you have a .gitignore that is specifically including those files? I believe that would take priority over the always ignore list.