From https://github.com/dotnet/aspnetcore/pull/32461#issuecomment-834678156  I believe it is related to https://github.com/dotnet/runtime/blob/01b7e73cd378145264a7cb7a09365b41ed42b240/eng/AvoidRestoreCycleOnSelfReference.targets#L5. I suspect that this workaround needs to be sequenced a little differently to avoid making it into the nuspec.