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!

Major versions of Nuget Packages



  • Hi

    After switching to ProGet we are having some issues using different major versions of our nuget packages. All the different package versions are displayed and can be downloaded from the ProGet browser but in the VS nuget package manager and the standalone nuget package explorer, only the latest major version is available. Can this behavior be changed somehow?

    ProGet browser

    https://www.dropbox.com/s/lp00uc995s3h5rl/2014-07-10 15_28_09-GamePlay 2.0.23.png

    Nuget Package Explorer

    https://www.dropbox.com/s/lp00uc995s3h5rl/2014-07-10 15_28_09-GamePlay 2.0.23.png

    Best Regards,
    Fredrik

    Product: ProGet
    Version: 2.2.13



  • Not sure, this sounds like the behavior is coming from NPE - you can verify by looking at the XML when browsing the NuGet feed or looking at a Fiddler trace.

    Also, those images are the same URL :)



  • Hi Tod

    Sorry for that, these are the correct images:

    ProGet browser

    https://www.dropbox.com/s/lp00uc995s3h5rl/2014-07-10 15_28_09-GamePlay 2.0.23.png

    Nuget Package Explorer

    https://www.dropbox.com/s/ev7bteduhh7hkb3/2014-07-10 17_44_31-NuGet Package Explorer_GamePlay.2.0.23.png

    The request from Nuget Explorer fails and I assume the same thing happens with the Nuget Package Manager in Visual Studio:

    Request:

    GET http://srvsedevtfs01:81/nuget/default/FindPackagesById()?$orderby=Published%20desc&$select=Id,Version,Authors,DownloadCount,VersionDownloadCount,PackageHash,PackageSize,Published&id='XXXXXX.XXXXXX.XXXXXX.GamePlay' HTTP/1.1
    DataServiceVersion: 2.0;NetFx
    MaxDataServiceVersion: 2.0;NetFx
    User-Agent: NuGet Package Explorer/3.8.0.0 (Microsoft Windows NT 6.1.7601 Service Pack 1)
    Accept: application/atom+xml,application/xml
    Accept-Charset: UTF-8
    Host: srvsedevtfs01:81
    Accept-Encoding: gzip, deflate
    

    Response:

    HTTP/1.1 404 Not Found
    Cache-Control: private
    Content-Length: 6505
    Content-Type: text/html; charset=utf-8
    Server: Microsoft-HTTPAPI/2.0
    X-AspNet-Version: 4.0.30319
    X-UA-Compatible: IE=edge
    Date: Fri, 11 Jul 2014 14:30:39 GMT
    
                <h1>
                    Request handler not found (404)
                </h1>
                <div class="subH1">
                    An unexpected error has occured while processing your request.
                </div>
                <h2>Error Details:</h2>
                <div style="overflow: auto; height: 100px; border: 1px dotted #A00; padding: 10px; color: #A00;">
                    /nuget/default/FindPackagesById()?$orderby=Published%20desc&amp;$select=Id,Version,Authors,DownloadCount,VersionDownloadCount,PackageHash,PackageSize,Published&amp;id=&#39;XXXXXX.XXXXXX.XXXXXX.GamePlay&#39; does not map to any handlers. The URL may have been entered incorrectly or linked to from an old reference.
                </div>
                <h2>Why am I seeing this page?</h2>
                <p>
                    You were taken to this page because ProGet encountered an error without a specific or known resolution.
                </p>
                <h2>What else can I do about this?</h2>
                <p>
                    Hopefully the error message above is helpful in determining what went wrong.
                </p>


Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation