D
D
Duioka2020-03-28 18:52:37
C++ / C#
Duioka, 2020-03-28 18:52:37

Nuget won't download required packages?

Hello. In VS 2019, I needed to download several packages, I decided to use nuget for the first time (I'm just getting acquainted with the environment), but for the second day I can't download and install anything ... I already tried to install it locally, no! Restored VS 2019 twice, didn't help either. And I'm trying to download and install two different packages. The following error is thrown in the console:

Install-Package : Пакет "System.Text.Encoding.4.3.0" указан в веб-канале "nuget.org [https://api.nuget.org/v3/index.json]", но после
 нескольких попыток не удалось скачать файл NUPKG. Указан недопустимый веб-канал либо необходимые пакеты были удалены во время выпол
нения текущей операции. Убедитесь, что пакет существует в веб-канале и повторите попытку.
  Не удается найти пакет "System.Text.Encoding.4.3.0".
строка:1 знак:1
+ Install-Package Discord.Net -Version 2.1.1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand


The package source looks like this:
5e7f7262cb97f057956889.png

I googled this error as best I could, I didn’t find anything useful on the Internet :(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question