Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. csi_lund
    3. Posts

    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!

    C Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • Pushing symbols to proget symbol feed

      Hi
      I was wondering if anyone could help me with an issue regarding pushing symbol packages to a proget nuget symbols feed.
      Essentially im packing the project and including symbols and then running this command.

      dotnet nuget push [packagename].nupkg --source https://packages.[packageserver].com/nuget/nuget/ --symbol-source https://packages.[packageserver].com/symbols/nuget --api-key '********'

      but what I find is that nuget appends a trailing "/" to the symbol URL (ive tried with just the regular nuget push *.nupkg ...... as well to confirm its not a dotnet command issue).

      What I get in the response is:

      Pushing [packageName].symbols.nupkg to 'https://[packageserver]/symbols/nuget'...
      PUT https://packages. [packageserver].com/symbols/nuget/
      NotFound https://packages. [packageserver].com/symbols/nuget/ 104ms
      error: Response status code does not indicate success: 404 (Not Found).

      This matches the behaviour if I navigate to the url in a browser; navigating to https://packages.[packageserver].com/symbols/nuget/ gets the 404 and error page

      navigating to https://packages.[packageserver].com/symbols/nuget without the trailing slash - works (or well I get the Obi Won page "If you've visited this URL to diagnose why they aren't serving correctly, here are some tips:"). This additional slash is also appended to the source feed url if without however this resolves since this matches the feed url.

      Is there a way to change the symbols package feed url so its consistent with the feed and works with the trailing slash? When I look at the configuration I change properties but not the feed url. And I can see anyway to do so.

      posted in Support symbols 404 proget
      C
      csi_lund
    • 1 / 1