我已經從朋友克隆了一個回購,而當我正在執行還原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年的社區,更新3
DOTNET --version 1.0.0-preview2-003131
的NuGet 3.5.0
一個包。 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
非常感謝。這也解決了我的問題。 –