我们有一个套餐拒绝出现在Visual中的NuGet包管理器搜索结果中。搜索Bridge.NET应该返回结果。

最初我们认为这可能只是缓存问题,所以我们等待了几个版本,但问题仍在继续。这里有一个.nuspec文件的副本供参考:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>Bridge</id>
<version>1.3.0</version>
<title>Bridge.NET</title>
<authors>Object.NET, Inc.</authors>
<iconUrl>http://speed.bridge.net/identity/bridgedotnet-100x100.png</iconUrl>
<owners />
<licenseUrl>https://github.com/bridgedotnet/Bridge/blob/master/LICENSE</licenseUrl>
<projectUrl>http://bridge.net</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Write modern mobile and web apps in C#. Run them anywhere with JavaScript.
WARNING: Installing this package will remove references to System.* and Microsoft.* within your project as they will cause compiler conflicts with Bridge.NET.</description>
<summary>Write modern mobile and web apps in C#. Run them anywhere in JavaScript with Bridge.NET.</summary>
<copyright>Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net/). All rights reserved.</copyright>
<tags>bridge bridge.net js javascript C# csharp mobile ios asp.net aspnet mvc aspnetmvc web transpiler compiler object.net</tags>
<dependencies>
</dependencies>
<frameworkAssemblies>
</frameworkAssemblies>
</metadata>
</package>如果直接在NuGet.org上进行搜索,则返回正确的结果。此外,包管理器控制台也没有问题。
任何诊断这个问题的帮助都将不胜感激。在搜索结果中列出的包有什么窍门吗?
发布于 2015-04-27 10:32:28
如果包管理器与试图使用包的项目不兼容,则包管理器将筛选出包。您的问题可能是,您的NuGet包中的dll的.NET版本比试图使用它们的项目要高。,这将导致它们不会出现在包管理器搜索结果中。
https://stackoverflow.com/questions/29888166
复制相似问题