November Happy Hour will be moved to Thursday December 5th.

Nuget problem

Vote:
 

Hi,

I am trying to install EPiServer.Personalization.MaxMindGeolocation, and it shows when I choose the optimizely package source. 

Problem is that the installation fails, with 2 errors:

NU1301    Failed to retrieve information about 'EPiServer.Framework' from remote source 'https://www.david-tec.com/optimizely-nuget-feed-explorer/FindPackagesById()?id='EPiServer.Framework'&semVerLevel=2.0.0'.
NU1301    Failed to retrieve information about 'EPiServer.Personalization.MaxMindGeolocation' from remote source 'https://www.david-tec.com/optimizely-nuget-feed-explorer/FindPackagesById()?id='EPiServer.Personalization.MaxMindGeolocation'&semVerLevel=2.0.0'.

I have tried to browse to the package source address https://api.nuget.optimizely.com/v3/index.json and it answers just fine, but it seems like that is just a kind of shortcut. I also tried the direct approach, using another package source, https://www.david-tec.com/optimizely-nuget-feed-explorer which also answers from the browser,  but in visual studio it gives this additional error:

[Optimizely Nuget Explorer] The V2 feed at 'https://www.david-tec.com/optimizely-nuget-feed-explorer/Search()?$filter=IsLatestVersion&searchTerm='maxmind'&targetFramework='net8.0'&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0' returned an unexpected status code '500 Internal Server Error'.

Just to have mentioned, I am trying to get the latest stable, 2.3.0

Am I missing something obvious, or are there a problem somewhere ?

Jan Rasmussen

#327699
Aug 19, 2024 12:09
Vote:
 

You should unselect the david-tec source. it is throwing error that stops VS from getting data from other sources. You should be able to use only these two

https://api.nuget.org/v3/index.json

https://nuget.optimizely.com/feed/packages.svc/ 

#327711
Edited, Aug 19, 2024 20:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.