INuGetProjectService.GetInstalledPackagesAsync throws before receiving CPS project system nomination #10681
Labels
Category:Quality Week
Issues that should be considered for quality week
Functionality:SDK
The NuGet client packages published to nuget.org
Product:VS.Client
Type:Bug
Milestone
Details about Problem
NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): Visual Studio
Product version: 16.9
Worked before? If so, with which NuGet version: new API in 16.8
Repro steps and/or sample project
In VS 16.8, we introduced a new API
INuGetProjectService.GetInstalledPackagesAsync
, an async way to get installed packages for a project. The API's contract explicitly says that a result with a suitable status will be returned. However, if this project is queried before we receive nomination info, then the API is throwing an exception.Verbose Logs
The text was updated successfully, but these errors were encountered: