Home

Can't seem to query NuGet OData feed

At some point in the past, it was possible to use LinqPad to query the NuGet OData feed. For example, this article shows it working:

http://codebetter.com/johnvpetersen/2012/04/15/using-odata-with-the-nuget-api/

However, when I try to set this up, I get an error, indicating that either I'm doing something wrong, NuGet doesn't support this anymore, or LinqPad doesn't support this anymore.

Just to rule out the first and last possibility, this are the steps I'm taking...

In LinqPad, Add connection > WCF Data Services 5.5 (OData 3) > URI: https://api.nuget.org/v3/index.json, Test... "XmlException: Data at the root level is invalid. Line 1, position 1."

N.B. Same error message shown when use the 'OData 4' driver instead of the 'WCF Data Services 5.5 (OData 3)' driver.

Is this a bug? Any suggestions of what I can try differently?
Sign In or Register to comment.