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.208 -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 ![]() ![]() Note: Visual Studio is not in any way involved with my question What exactly is a NuGet provider? Is it just nuget.exe? How do I obtain and install the Nuget provider (v2.8.5.201 or greater) for PowerShell so I can install this nuget package from the PowerShell command line? ![]() The PS command Install-Module -Name pswindowsupdate.2.0.0.4.nupkg -Repository still fails. I'm trying to install pswindowsupdate.2.0.0.4.nupkg from the Powershell command line on a Win 7 computer not connected to the internet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |