This randomly started happening to me shortly after .NET 5 was released, which I realise may well be just a concidence. It was however affecting some of my libraries that target NetStandard2.0 and net471. Strangely the build passed regardless of how I did it — sometimes for example NCrunch shows up issues that aren’t otherwise clear but it was showing nothing, however when I try to pack the library I get —