Versioning information could not be retrieved from the NuGet package repository. Please try again la
Posted runliuv
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Versioning information could not be retrieved from the NuGet package repository. Please try again la相关的知识,希望对你有一定的参考价值。
NuGet Package Manager扩展遇到:
Versioning information could not be retrieved from the NuGet package repository. Please try again later.
修改
C:\\Users\\用户名\\.vscode\\extensions\\jmrog.vscode-nuget-package-manager-1.1.6\\out\\src\\actions\\add-methods>fetchPackageVersions.js
文件: 在:(`${versionsUrl}${selectedPackageName}/index.json这段,selectedPackageName后面增加.toLowerCase():
(`${versionsUrl}${selectedPackageName.toLowerCase()}/index.json
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const vscode = require("vscode"); const node_fetch_1 = require("node-fetch"); const shared_1 = require("../shared"); const constants_1 = require("../../constants"); const utils_1 = require("../../utils"); function fetchPackageVersions(selectedPackageName, versionsUrl = constants_1.NUGET_VERSIONS_URL) { if (!selectedPackageName) { // User has canceled the process. return Promise.reject(constants_1.CANCEL); } vscode.window.setStatusBarMessage(\'Loading package versions...\'); return new Promise((resolve) => { node_fetch_1.default(`${versionsUrl}${selectedPackageName.toLowerCase()}/index.json`, utils_1.getFetchOptions(vscode.workspace.getConfiguration(\'http\'))) .then((response) => { shared_1.clearStatusBar(); resolve({ response, selectedPackageName }); }); }); } exports.default = fetchPackageVersions; //# sourceMappingURL=fetchPackageVersions.js.map
--
重启vscode问题解决!
以上是关于Versioning information could not be retrieved from the NuGet package repository. Please try again la的主要内容,如果未能解决你的问题,请参考以下文章
《Semantic Sentence Matching with Densely-connected Recurrent and Co-attentive Information》DRCN 论文速读(