This happens because they've changed how IDE0005 (remove unused using directives) works. It has been a long-term bugbear that builds never reported this, and that unused usings were basically something only the IDE could deal with. They have fixed this, but in a weird way that seems to depend on documentation generation. Apparently the internals of VS use some weird private doc gen mode to make this work, but the new command line build stuff to support this just fails.
The upshot seems to be that any project that disables documentation generation also needs to disable IDE0005.
The effect of https://github.com/dotnet/roslyn/issues/41640 is that any projects that disable documentation generation will fail to build.
This happens because they've changed how IDE0005 (remove unused
using
directives) works. It has been a long-term bugbear that builds never reported this, and that unused usings were basically something only the IDE could deal with. They have fixed this, but in a weird way that seems to depend on documentation generation. Apparently the internals of VS use some weird private doc gen mode to make this work, but the new command line build stuff to support this just fails.The upshot seems to be that any project that disables documentation generation also needs to disable IDE0005.
Hopefully this will be temporary...