NuGet包不在包管理器搜索结果中

NuGet包不在包管理器搜索结果中,nuget,nuget-package,nuget-spec,Nuget,Nuget Package,Nuget Spec,我们有一个拒绝出现在Visual Studio中的NuGet Package Manager搜索结果中的。搜索Bridge.NET时应返回 起初,我们认为这可能只是缓存问题,所以我们等待了几次发布,但问题仍然存在。以下是.nuspec文件的副本供参考: <?xml version="1.0" encoding="utf-8"?> <package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd"

我们有一个拒绝出现在Visual Studio中的NuGet Package Manager搜索结果中的。搜索
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>

桥
1.3.0
Bridge.NET
,则返回正确的结果。同样,包管理器控制台也没有问题


如果您能帮助诊断此问题,我们将不胜感激。在搜索结果中列出软件包有什么诀窍吗?

如果软件包与试图使用它们的项目不兼容,软件包管理器将过滤掉这些软件包。您的问题可能是NuGet包中的dll的.NET版本高于试图使用它们的项目。这将导致它们不会出现在package manager搜索结果中

是的,这正是问题所在。将
/lib/net45/
文件夹添加到NuGet包后,该项目出现在搜索结果中。谢谢你给我指明了正确的方向。