首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >包管理器搜索结果中没有包含的NuGet包

包管理器搜索结果中没有包含的NuGet包
EN

Stack Overflow用户
提问于 2015-04-27 05:53:32
回答 1查看 834关注 0票数 1

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

最初我们认为这可能只是缓存问题,所以我们等待了几个版本,但问题仍在继续。这里有一个.nuspec文件的副本供参考:

代码语言:javascript
复制
<?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上进行搜索,则返回正确的结果。此外,包管理器控制台也没有问题。

任何诊断这个问题的帮助都将不胜感激。在搜索结果中列出的包有什么窍门吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-04-27 10:32:28

如果包管理器与试图使用包的项目不兼容,则包管理器将筛选出包。您的问题可能是,您的NuGet包中的dll的.NET版本比试图使用它们的项目要高。,这将导致它们不会出现在包管理器搜索结果中。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29888166

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档