I am building a .net core 6 project. I've added a fairly complex .editorconfig file, which is only causing problems building on the BB build server.
I get zero build problems if I build from Visual Studio, or `dotnet build` on the command line. When I run exactly the same dotnet build command in the bitbucket-pipeline.yml, I get build errors (specifically IDE0055, but I've fixed others already).
I've also tried using the official .net6 sdk docker image locally, and I get no errors.
It appears to be a problem with the BB build server, but I'm stuck for ideas.
bitbucket-pipeline.yml (snippet):
image: mcr.microsoft.com/dotnet/sdk:6.0
script:
- dotnet restore $SOLUTION_NAME.sln
- dotnet build --no-restore --configuration Debug $SOLUTION_NAME.sln
`