Open v-luzh opened 1 year ago
I can repro it, the bug is that if you install a version that is NOT deprecated but the latest version of the package IS deprecated, we will display a Warning even if the installed version is not.
We can change the warning to be next to the Latest Version so it's clear which version in the deprecated one, but this is relevant to Browse and Updates tab.
Or we can change the warning text to specify which version is the deprecated.
@donnie-msft Do you have another idea for this? I can work on this next sprint since I'm working in vulnerabilities
This appears to be a behavior change due to Search now including the latest package's deprecation metadata.
the bug is that if you install a version that is NOT deprecated but the latest version of the package IS deprecated, we will display a Warning even if the installed version is not.
This is spot on. If I disable showing prerelease versions, the warning icon goes away.
We can change the warning to be next to the Latest Version Or we can change the warning text to specify which version is the deprecated.
Doing both would be awesome!
Related issue on developer community: https://developercommunity.visualstudio.com/t/NuGet-Packages---Deprecation-information/10483332
It still reproes on VS Main\35222.175 + NuGet Client Dev\6.12.0.82.
NuGet Product Used
Visual Studio Package Management UI
Product Version
Dev\6.7.0.48
Worked before?
No response
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro Steps:
Expected:
The deprecated icon should only show in “Installed” tab (would not show in “Browse”/”Updates” tab) and it should show on the left of a real deprecated version.
Actual:
The deprecated icon showed in “Browse”/”Updates” tab (not show in the “Installed” tab) and it showed on the left of a non-deprecated version as below.
Notes:
It reproes on D17.5\33530.505.
Verbose Logs
No response