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!

ProGet does not support searching NuGet package versions by wildcard



  • ProGet does not support wildcard package references and search requests while the official NuGet servers do.
    For example, to use the latest version, Micosoft suggests to use Wildcard references like:

    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.0-*" />.
    

    When using this, NuGet causes the following error message when trying to download NuGet packages:

    NU1301: Failed to retrieve information about 'Microsoft.EntityFrameworkCore.Relational' from remote source 'https://nuget.intern/nuget/default/FindPackagesById()?id='Microsoft.EntityFrameworkCore.Relational'&semVerLevel=2.0.0'.
    

  • inedo-engineer

    Hi @schuettecarsten_9427 ,

    There's no limitation about that in ProGet... the * is something the NuGet client resolves.

    Based on the error, it looks like there's a problem with Visual Studio communicating to ProGet. No further information is provided; maybe this is related to ProGet having an issue communicating to Nuget.org through your connector. You'd need to dig into that a bit further.

    I'd also make sure to use the V3 API Endpoint. The query that's shown in the error is the v2/ODATA endpoint.

    Cheers,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation