![]() NuGet 2.8.5.208 Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipValidate I ran Get-PackageProvider -ListAvailable and saw this (NuGet appears where it was not present before): Name Version DynamicOptions I started PS (v5) on my unconnected (Win 7) machine and ran Import-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 to import the provider to the current PowerShell session. I copied the \NuGet folder (and all its children) from the connected machine onto a thumb drive and copied it to C:\Program Files\PackageManagement\ProviderAssemblies on my unconnected (Win 7) machine ![]() ![]() Install NuGet provider on my unconnected machine The provider software is in a folder structure like this: C:\Program Files\PackageManagement\ProviderAssemblies The Nuget software was obtained from the 'Net and installed on my local connected machine.Īfter the install I found the NuGet provider software at C:\Program Files\PackageManagement\ProviderAssemblies (Note: the folder name \ProviderAssemblies as opposed to \ReferenceAssemblies was the one minor difference relative to trebleCode's answer. On a connected machine (Win 10 machine), from the PS command line, I ran Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force. Install NuGet provider on my connected machine To continue, as trebleCode stated, I did the following ![]() I accepted trebleCode's answer, but I wanted to provide a bit more detail regarding the steps I took to install the nupkg of interest pswindowsupdate.2.0.0.4.nupkg on my unconnected Win 7 machine by way of following trebleCode's answer.įirst: after digging around a bit, I think I found the MS docs that trebleCode refers to:īootstrap the NuGet provider and NuGet.exe Although I've tried all the previous answers, only the following one worked out:Ģ - Run: ::SecurityProtocol = ::Tls12ģ - Run: Install-PackageProvider -Name NuGet ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |