Since .net 7.0.3 our build agent gives us this nice error when building the solution: > The "--output" option isn't supported when building a solution. <img width="882" alt="image" src="https://user-images.githubusercontent.com/26365461/219693151-3fcfde59-cd9b-4f1d-80ac-38de91f5254f.png">
Since .net 7.0.3 our build agent gives us this nice error when building the solution: