为了解决一个问题,这对我来说很有效:
Install-Package NuGet.Manifest.Schema -Version 2.0.0然后,出于对是否还有其他版本的好奇,我尝试了find-package:
find-package nuget -allversions -includeprerelease返回:
NuGet.Core NuGet.VisualStudio NuGet.Client NuGet.CommandLine NuGet.Server NuGet.Configuration JetBrains.NuGet.Ultimate NuGet.Protocol.Core.v3 NuGet.Protocol.Core.Types NuGet.Protocol.Core.v2 NuGet.Protocol.VisualStudio NuGet.PackageManagement.PowerShe...Nugety.Nuget NugetyCore.Nuget MsBuild.NuGet.Pack Tvl.NuGet.BuildTasks NuGet.Services.Platform.Client NuGet.Lucene.Web NuGet.Lucene NuGetTest.Common.Web.Nuget 时间: 00:00:01.0397859
但是我刚刚安装的软件包没有列出。这让我很惊讶!
为什么会这样?
发布于 2017-03-19 11:13:01
NuGet.Manifest.Schema NuGet包未列出。
如果您指定版本,未列出的包仍然可以安装,因为否则它们会破坏安装它们的项目的NuGet包恢复,当它们仍然列出时。
未列出的NuGet包将不会在搜索中返回。
https://stackoverflow.com/questions/42877208
复制相似问题