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 return unlisted packages in visual studio
-
Re: [When querying packages](why does ProGet also return unlisted packages?)
We have the following versions of a package:
- 2019.8.2.1
- 2018.7.1.1
- 2.0.0.4
- 2.0.0.3
- 1.3.2.7
- 1.3.1.7
Versions 2019.8.2.1 and 2018.7.1.1 are unlisted in ProGet UI, and not viewable as latest in UI,
but in visual studio they still shows as a latest versions in the update.Product: ProGet
Version: 5.2.14Please suggest,
Thanks,
Alex
-
Hi;
It's hard to say why this is happening, if you don't see it in the UI, you souldn't see it in Visual Studio.
it could be related to cached packages in visual studio. The best way to diagnose this would be attach Fiddler or Wireshark, so that Visual STudio is going through that, and then monitor the exact queries that Visual STudio is sending to ProGet, and find if anyone is actually returning those packages. If so, then please share the details and we can try to investigate.
Otherwise clear all of your local NuGet caches.
Best,
Alana
-
Hi Alana,
I cleared local cache and make request with Fiddler. I can see that unlisted version marked as false "<d:Listed m:type="Edm.Boolean">false</d:Listed>", but i can see them in VS package manager as a latest version. If you want i can send you full request response.
Please suggest,
Thanks,
Alex
-
Thanks for the additional information; I tried to reproduce this quickly by unlisting a package, and checking in Visual Studio 2019.16.3.5.
The package does not show up, but
<d:Listed m:type="Edm.Boolean">false</d:Listed>
is in the API results.We haven't had other users report this problem, so I'm not sure how to debug from here :/
-
Whoops, I accidentally forked the topic, so I'm just going to quote it in here instead
@smolkov-anton_1636 said in Unlisted NuGet Packages showing as listed in feed:
@atripp Hello.
I have got the same behaviour too.
With fiddler i see that all versions i unlisted before have property
<d:Listed m:type="Edm.Boolean">false</d:Listed>
, but still apeear in VisualStudio,nuget list
and even Rider.
Version - 5.3.0 (Build 126-5.3.0).I think this one is related:
https://forums.inedo.com/topic/2675/owner-has-unlisted-the-package-on-nuget-org-but-proget-still-shows-it-in-the-list-of-availible-versions/4@smolkov-anton_1636 said in Unlisted NuGet Packages showing as listed in feed:
@atripp Hello.
I have got the same behaviour too.
With fiddler i see that all versions i unlisted before have property
<d:Listed m:type="Edm.Boolean">false</d:Listed>
, but still apeear in VisualStudio,nuget list
and even Rider.
Version - 5.3.0 (Build 126-5.3.0).I think this one is related:
https://forums.inedo.com/topic/2675/owner-has-unlisted-the-package-on-nuget-org-but-proget-still-shows-it-in-the-list-of-availible-versions/4@smolkov-anton_1636 said in Unlisted NuGet Packages showing as listed in feed:
The same is for new nuget V3 API.
Steps to reproduce:- Unlist all versions of package in proget UI
- List only one version / push new version
Expected result:
Visual Studio UI shows only one version which was listedObserved result:
Visual Studio UI shows all the versions