UpDate package did i upload to NuGet.org

Hagay Elbaz 1 Reputation point
2020-12-07T20:44:23.66+00:00

I uploaded a package through the NuGet website from a file on my computer, and I published, updated the package on my computer - how can I publish the package with the updated version? I have not seen the "Update Version" option on the site?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,363 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2020-12-08T11:32:37.737+00:00

    Hi @Hagay Elbaz ,

    Thank you for reporting it in Microsoft Q&A.

    Please have a try with the following steps:

    1. Update the .nuspec file and change the version number;
    2. Run the “nuget pack” command to build a new .nupkg file;
    3. Run the "nuget push" command line to publish the update to nuget.org
      nuget push xxx.nupkg -source=xxxxxxx -apikey=xxxxxxx

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments