lunes, 13 de abril de 2020

Nuget in computer without internet connection


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 * -Force
*Choose the version you need.
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: