NuGet / Home

Repo for NuGet Client issues
Other
1.5k stars 252 forks source link

[Bug Bash] There is a message “not available in this source” and incorrect package icon for the recommended package “RestSharp” in “Brower” tab of the non-SDK project-level PM UI #13863

Open CiciLi1 opened 1 week ago

CiciLi1 commented 1 week ago

NuGet Product Used

Visual Studio Package Management UI

Product Version

NuGet Client Dev\6.13.0.26

Worked before?

It is a regression since it doesn't repro on D16.11\34601.136 with implicit NuGet Client 5.11.6.4 and D17.11.5\35327.3 with implicit NuGet Client 6.11.1.2.

Impact

None

Repro Steps & Context

Notes:  

  1. The repro rate is 100%. 

  2. This issue doesn’t repro when searching the package in the search box as below: 1017-1

    Repro Steps:   

  3. Create a C# Console App (.NET framework) project.   

  4. Right-click the project in Solution Explorer and select "Manage NuGet Packages…" menu item to open PM UI and select “nuget.org” in the “Package source” dropdown list.   

  5. Switch to “Brower” tab and observe the recommended package “RestSharp” in packages list.

    Expected:   

There is no message “not available in this source” under the recommended package “RestSharp” and the package icon should be correct.

Actual:   

There is a message “not available in this source” under the recommended package “RestSharp” and the package icon is incorrect as below screenshot:  1017

Verbose Logs

No response

jeffkl commented 1 week ago

@CiciLi1 I think this might be intermittent, I'm not able to reproduce the problem. Can you try it a few more times and tell me if it only happens some of the time?

CiciLi1 commented 1 week ago

@CiciLi1 I think this might be intermittent, I'm not able to reproduce the problem. Can you try it a few more times and tell me if it only happens some of the time?

Hi @jeffkl, I verified this issue ten times today on VS Main\35417.73 with implicit NuGet Client Dev\6.13.0.34, the repro rate is 100%.

jeffkl commented 1 week ago

6.13.0.34 potentially made some changes to our VSIX, does not not repro with 6.13.0.33?

CiciLi1 commented 5 days ago

6.13.0.34 potentially made some changes to our VSIX, does not not repro with 6.13.0.33?

Hi @jeffkl, it reproduced on Dev\6.13.0.33 as well. image

jeffkl commented 4 days ago

@nkolev92 maybe you can take a look? I was not able to reproduce the problem on my machine.

nkolev92 commented 10 hours ago

I can repro this. It's a casing issue, I'll submit a fix.