Я клонировал репо от друга, а пока я делаю Restore NugetPackages, многие пакеты не получают.Nuget: NU1001 Зависимость * не может быть разрешена. (Ошибка: ... вышло после 100000ms.)
В выходе я получаю много записей, как:
log : Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/nunit/index.json'. log : The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/nunit/index.json' has timed out after 100000ms. log : Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/libuv/index.json'. log : The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/libuv/index.json' has timed out after 100000ms. log : Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/moq/index.json'. log : The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/moq/index.json' has timed out after 100000ms. log : Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.design/index.json'. log : The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.design/index.json' has timed out after 100000ms.
/*...CODE REMOVED FOR READABILITY...*/
log : The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.fileextensions/1.1.0/microsoft.extensions.configuration.fileextensions.1.1.0.nupkg' has timed out after 100000ms. error: Failed to retrieve information from remote source 'https://api.nuget.org/v3-flatcontainer/nunit/index.json'. error: The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/nunit/index.json' has timed out after 100000ms. error: Failed to retrieve information from remote source 'https://api.nuget.org/v3-flatcontainer/nunit/index.json'. error: The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/nunit/index.json' has timed out after 100000ms.
Инструменты:
Visual Studio 2015 Community, обновление 3.
DotNet --version 1.0.0-preview2-003131
NuGet 3.5.0
My Solution Explorer, выглядят как на картинке внизу:
Один пакет. json file ` { " title ":" Ghp ", " version ":" 1.0.0 ", "Описание": "GHP", "авторское право": "", "Авторы": [ ""],
"packOptions": {
"tags": [ "ghp" ],
"projectUrl": "",
"licenseUrl": "",
"repository": {
"type": "git",
"url": ""
}
},
"buildOptions": {
"emitEntryPoint": false
},
"frameworks": {
"netstandard1.6": {
"imports": [
"dnxcore50",
"portable-net451+win8"
]
},
"net46": {
"frameworkAssemblies": {
"System.ComponentModel.DataAnnotations": "4.0.0.0"
}
}
},
"dependencies": {
"Microsoft.EntityFrameworkCore": "1.1.0",
"Newtonsoft.Json": "9.0.1",
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
"Microsoft.EntityFrameworkCore.SqlServer": "1.1.0",
"Microsoft.Extensions.Configuration": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
"Microsoft.Extensions.Localization": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Logging.Console": "1.1.0",
"Microsoft.Extensions.Logging.Debug": "1.1.0",
"System.Diagnostics.StackTrace": "4.3.0"
}
} `
Если кто-нибудь знает, дайте мне подсказку Как разрешите проблему с восстановлением Nuget.
Спасибо.
Рад знать, что вы должны найти причина этого вопроса и его решение. Пожалуйста, отметьте свой ответ, который является преимуществом для других сообществ, имеющих такую же проблему. Благодарю. –
@ Leo-MSFT, спасибо за заботу. Я должен ждать предопределенный промежуток времени, пока не смогу принять ответ, который разрешил проблему;) – meorfi
Большое спасибо. Это исправило это и для меня. –