Since upgrading one project to .NET 5 (the solution has 27 projects in it), we\'re getting this error when publishing in the post-build event: