NuGet / Home

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

[Bug]: Unable to cast object of type 'NuGet.VisualStudio.Internal.Contracts.PackageSourceContextInfo' to type 'NuGet.Configuration.PackageSource'.' #11073

Open donnie-msft opened 3 years ago

donnie-msft commented 3 years ago

NuGet Product Used

Visual Studio Package Management UI

Product Version

Version 17.0.0 Preview 3.0 [31516.353.main]

Worked before?

16.x?

Impact

Other

Repro Steps & Context

  1. Open NuGet Settings
  2. Attach a debugger
  3. Change a Source by either [un]checking a source, or add/removing/renaming one.
  4. Observe the following casting exception
  5. image

Verbose Logs

No response

donnie-msft commented 3 years ago

https://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Clients/NuGet.PackageManagement.UI/Options/CheckedListBoxAccessibleObject.cs#L34