Hello,
I had to install Nuget in a server without internet and after some investigation I kept these steps:
1. go to a computer with internet connection and launch the classic:
Install-PackageProvider -Name NuGet -RequiredVersion *2.8.5.201 -Force
*Choose the version you need. https://www.nuget.org/packages/NuGet.Build/2.8.6
2. Then go to the path C:\Program Files\PackageManagement\ProviderAssemblies and copy the Nuget folder.
3. Paste this folder at the same path in the server where there isn't internet
4. Launch this command in an Administrator Powershell: Import-PackageProvider -Name NuGet -RequiredVersión
Regards
No hay comentarios:
Publicar un comentario