Skip to content
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

Package Manager Console: becomes unusable if used in an empty solution #8226

Closed
dtivel opened this issue Jun 13, 2019 · 2 comments
Closed

Package Manager Console: becomes unusable if used in an empty solution #8226

dtivel opened this issue Jun 13, 2019 · 2 comments
Assignees
Labels

Comments

@dtivel
Copy link
Contributor

dtivel commented Jun 13, 2019

Package Manger Console (PMC) becomes permanently disabled (for that Visual Studio instance) if it is used in an empty solution. Visual Studio must be restarted for PMC to become usable again.

Repro steps:

  1. Launch Visual Studio.
  2. Open PMC.
  3. In Visual Studio open a file (e.g.: a text file or a PowerShell script) but not a solution or project.
  4. In PMC execute: get-help NuGet

Results:

  1. Visual Studio dialog displays an error dialog:
---------------------------
Microsoft Visual Studio
---------------------------
Solution is not opened or not saved. Please ensure you have an open and saved solution.
---------------------------
OK   
---------------------------
  1. PMC never stops exits "executing" mode of the last command. Thus, PMC will not accept any new commands.

Observations:

  1. If PMC was open and a topmost tool window when Visual Studio was last closed, then Visual Studio will reopened and reactivate PMC automatically during step 1 above, and step 2 will be unnecessary.
  2. If steps 2 and 3 above are reversed, then PMC reports the error inside PMC (instead of a dialog), but PMC is still disabled for that Visual Studio instance. Step 4 will be unnecessary (and blocked).
@dtivel dtivel self-assigned this Jun 13, 2019
@ghost ghost added the Status:Inactive Icebox issues not updated for a specific long time label Sep 1, 2022
@ghost
Copy link

ghost commented Nov 17, 2022

Due to lack of recent activity, this issue has been marked as a candidate for icebox cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will add a Triage:NeedsTriageDiscussion label and lead to a triaging process.
This process is part of the experimental Stale icebox issues cleanup we are currently trialing. Please share any feedback you might have in the linked issue.

@zivkan
Copy link
Member

zivkan commented Nov 18, 2022

no longer reproducible

@zivkan zivkan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants