PackageManager.InstallPackageAsync() throws NullReferenceException #9926
Labels
Functionality:SDK
The NuGet client packages published to nuget.org
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Resolution:Question
This issues appears to be a question, not a product defect
Type:DeveloperDocs
NuGet product used: Nuget Libraries
NuGet version (5.7.0:
VS version: VS 2017
OS version: Win 10 (1909)
Details about Problem
I'm working on a plug-in management system built on top of Nuget similar to Chocolatey, PowerShell Gallery etc. I wanted to use the newer V3 libraries but the amount of abstraction and the lack of documentation is becoming a serious challenge for me.
The responses to issue #6161 have been helpful, as well as the blog posts mentioned there. However, I'm still failing to get simple prototype working that will download and extract a package.
Here's my test code
https://github.com/ericanastas/nuget-packagemanagment-test
And here's the
NullReferenceException
that is thrown at the end when I try to callInstallPackageAsync()
What am I missing here?
The text was updated successfully, but these errors were encountered: