Я только что установил шоколад за прокси
$env:chocolateyProxyLocation = 'http://proxy.com:port'
[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
и пытаюсь установить менеджер пакетов nuget
choco install nugetpackagemanager
Почему для Nuget требуется VS?Я получаю эту ошибку:
Chocolatey v0.10.13
Installing the following packages:
nugetpackagemanager
By installing you accept licenses for the packages.
Progress: Downloading NugetPackageManager 2.8.60318.667... 100%
NugetPackageManager v2.8.60318.667 [Approved]
nugetpackagemanager package files install completed. Performing other installation steps.
The package NugetPackageManager wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y
ERROR: Visual Studio is not installed or the specified version is not present.
The install of nugetpackagemanager was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\NugetPackageManager\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- nugetpackagemanager (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\NugetPackageManager\tools\chocol
ateyInstall.ps1'.
See log for details.