dotnet / reproducible-builds

Contains the DotNet.ReproducibleBuilds package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pack error NU5017

WeihanLi opened this issue · comments

When I use the DotNet.ReproducibleBuilds package(1.1.1), the pack step failed with error NU5017, when updated reference to Microsoft.SourceLink.GitHub, it works

error NU5017: Cannot create a package that has no dependencies nor content

image

Failed CI sample:

https://github.com/WeihanLi/dotnet-exec/actions/runs/3489789242/jobs/5848009450

Success CI sample:

https://github.com/WeihanLi/dotnet-exec/actions/runs/3494529164/jobs/5850378023

code changes:

WeihanLi/dotnet-exec@71d50ed

commented

I think this issue should be handled by the NuGet team.
Is this related to NuGet/Home#8583?

I can confirm it, after removing
snupkg
I will not show the error anymore, i guess it is a bug

Hi @WeihanLi! We've released a new version of the package which includes an updated version of Microsoft.SourceLink.GitHub. Since you mentioned that as a workaround for your issue, I'm resolving this issue. If you still experience problems after upgrading to the latest version, please open an issue and provide updated details such as a minimal repo / codebase that reproduces the issue.

Thanks!