NU5039 The readme file ‘’ does not exist in the package

Steve Ellwood
Jan 8, 2024

This appears to be quite a common issue and it happened to me unexpectedly when trying to pack a legacy library. The library concerned was written in net core 3.1 and has recently been upgraded to .net 8.0

The first thing I tried was adding


to the csproj file but this made no difference. I also checked the CopyToOutputDirectory setting.

Finally I noticed that I had


and ALSO had

<None Update="">

Removing the PackageReadmeFile entry resolved the issue for me



Steve Ellwood

Senior Integrations Officer at Doncaster Council Any views expressed are entirely my own.