Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Nuget Package upload - changed behaviour

    Scheduled Pinned Locked Moved Support
    progetapinuget
    2 Posts 1 Posters 21 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hello,

      After updating from Proget 4.7.11 to 4.7.13 we've noticed change during package upload to Nuget feed. If you tried to upload package with the same version that was already existing on that feed.

      It used to return error:

      Failed to process request. 'A package with id 'PackageID' and version '0.16.3-beta03' already exists and cannot be modified.'.
      The remote server returned an error: (409) Conflict..

      But now it asks for credential to elevate permissions:

      nuget-3.4.4.exe push "PackageID.0.16.3-beta03.nupkg" apikey -Source api-endpoint )
      Pushing PackageID.0.16.3-beta03.nupkg to 'api-endpoint/
      Forbidden api-endpoint 19ms
      Please provide credentials for: api-endpoint
      UserName: Password: Object reference not set to an instance of an object.

      Is this desired effect? Can it be toggle off in options?

      Product: ProGet
      Version: 4.7.13

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        As far as we can tell, ProGet has never returned a 409 response from that endpoint. A quick Google search reveals this NuGet bug: https://github.com/NuGet/Home/issues/2910

        You can fix this by upgrading to NuGet.exe 3.4.5, NuGet.exe 3.5.0-beta2, or a later version.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation