-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roslyn Analyzer suggestion "install with package manager" opens NuGet to wrong tab #10124
Comments
Repro steps
This could be because of another issue we already have. |
We don't own this menu. I believe Roslyn owns it I don't believe the #7309 issue is quite the same. It focuses on VS defaults. |
Assigned feedback ticket to Roslyn team as per @donnie-msft comment. |
Putting this back on our side. The search API invokes our NuGetPackageManagerControlSearchTask.Start(). I believe we need to automatically set the current tab to Browse here, since the Search API generally assumes it's "Browsing" packages. Future improvement would be to allow an API parameter to specify which tab to Search. |
Adding a rough estimate. Haven't dug into it yet. |
Please try to fix opportunistically for 17.0; otherwise we will have to fix in 17.1 |
Released in VS 17.0.31729.192. Also, a Roslyn fix no longer requires the package source be named exactly "nuget.org" to trigger this Codefix suggestion in VS. |
This issue has been moved from a ticket on Developer Community / https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1230203.
When editing my .NET app if a Roslyn analyzer appears with a helpful suggestion that the code I am attempting to write is not possible because I am missing a package and gives me a helpful suggestion to "install with package manager" it then tries to open NuGet manager.
This is where I hit a problem that I could reproduce easily. If the last time I used package manager I left my tab on for example "installed" it would be the tab that the analyzer would open and try to search for the missing package. This would show no results.
But obviously it should have switched to "Browser" since the package was not in my solution.
Original Comments
Feedback Bot on 10/14/2020, 03:31 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 10/14/2020, 01:04 PM:
Thanks for creating this issue! We figured it’s covering the same as another one we already have. Thus, we closed this one as a duplicate. We’ve transferred all votes from this ticket to the other one. For more information, see also our issue reporting guidelines.
Happy coding!
kapenaga [MSFT] on 10/14/2020, 02:05 PM:
This issue is currently being investigated and could be because of another one we already have. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: