NuGet / Home

Repo for NuGet Client issues
Other
1.49k stars 249 forks source link

[Bug Bash] The PMC doesn’t work after opening a configuration file in ‘Option-> Configuration Files’ window without creating a project #13455

Open CiciLi1 opened 1 month ago

CiciLi1 commented 1 month ago

NuGet Product Used

Visual Studio Package Manager Console

Product Version

NuGet Client Dev\6.11.0.60

Worked before?

It’s not a regression since it reproes on D17.9\34601.282.

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Repro Steps:   

  1. Open VS window and click the link ‘Continue without code’.

  2. Open PMC through menu ‘Tools -> NuGet Package Manager -> Package Manage Console’.

  3. Click the settings button (gear button) on PMC.

  4. Click the ‘NuGet Package Manager->Configuration Files’ in the opened ‘Options’ window.

  5. Select a configuration file and click ‘Open’ button.

  6. Close ‘Options’ window by clicking ‘OK’ button.

  7. Type a command (for example ‘get-help NuGet’) and press Enter key in PMC.

  8. Observe the command execution.

Expected:   

The command should be executed successfully or there should be a warning saying that a project or solution needs to be created.

Actual:

The PMC has no respond as below: configurationFiles

Notes:    

  1. The repro rate is 100%.
  2. The issue doesn’t repro if opening PMC happened in step7 instead of step2.

Verbose Logs

No response

nkolev92 commented 1 month ago

Does it repro on D16.11?

I think we get that info on all regression reported issues.

CiciLi1 commented 1 month ago

Does it repro on D16.11?

I think we get that info on all regression reported issues.

Hi @nkolev92, D16.11 doesn't have the ‘configuration files’ node feature, it's been existing since D17.9.

nkolev92 commented 1 month ago

Oh, ofc :D My bad, thanks.

So sounds like it's always been a thing which is what you had been saying in the issue all along :D