NuGet OData feed broken in TeamCity 9.1.3?

I'm trying to use LINQPad to look at the NuGet OData feed from my TeamCity server and it's giving connection errors. I'm using the public unuathenticated feed.

I have the default public NuGet Gallery feed open and that's working just fine.

This used to work - has something broken? Is anyone able to access the NuGet feed from LINQPad?

4 comments

Hi Tim,

Do I correclty understand that you can reach the NuGet feed using "http://teamcity/guestAuth/app/nuget/v1/FeedService.svc/"?
Could you please post the full error message that you see?

0

Tim, did you ever figure this out? I'm having problems after updating to 9.1.5 on my authenticated feed. 

0

I tried link pad, and get the following results:

 

In LinqPad, http://packages.nuget.org/v1/feedservice.svc/ works fine and I am able to fetch packages. When I use my own though
 
---------------------------
LINQPad
---------------------------
 
 
 
 
MetadataException: Schema specified is not valid. Errors: 
 
(0,0) : error 0146: Return type is not valid in FunctionImport 'FindPackagesById'. The FunctionImport must return a collection of scalar values or a collection of entities.
 
(0,0) : error 0146: Return type is not valid in FunctionImport 'GetUpdates'. The FunctionImport must return a collection of scalar values or a collection of entities.
 
(0,0) : error 0146: Return type is not valid in FunctionImport 'Search'. The FunctionImport must return a collection of scalar values or a collection of entities.
---------------------------
OK   
---------------------------
0

I never got to the bottom of it. Unfortunately just after I made the report, our TeamCity server went offline due to a hardware fault, we haven't repaired it yet.

--Tim

0

Please sign in to leave a comment.