I made a change to a known working project and now I get the following when building with dotnet build:
λ dotnet build
Object reference not set to an instance of an object.
The change was adding a new framework to the frameworks section, which has worked in the past. I'm not sure why it suddenly stopped working.