Hypothetical, downloading a Nuget package to a specific location [Answered]
This is just a hypothetical and it's not part of anything I'm doing currently. Would it be possible to download a Nuget package to a specific location/directory, for the sake of then dynamically loading the package assembly from a program?
9 Replies
Of course
You can just download and unpack it
Shell, but you get the point
oh cool
Haven't really used the Nuget API, so cool that it's apparently so easy
there's no api used though
ah you mean the link
I got it by clicking "Download the package" on the nuget.org package page lol
ah
You can also just curl that url with -o filename
Does that just download the content at the URL to a file?
Sorry haven't used CURL
Okay that's neat
essentially
Okay I tried doing this in C# and it works flawlessly
✅ This post has been marked as answered!