简体   繁体   English

将冗余包添加到Nuget Feed中

[英]Getting redundant packages added into the Nuget Feed

I will describe my steps to see where I hit the problem. 我将描述我的步骤,看看我遇到了什么问题。

  1. I Created new class library (.NET Standard), wrote required solution, packed it. 我创建了新的类库(.NET标准版),编写了所需的解决方案,打包它。
  2. Pushed this package to Azure DevOps. 将此包推送到Azure DevOps。
  3. Created new asp.net Core Web Application project. 创建了新的asp.net核心Web应用程序项目。
  4. Selected my custom Package Source as the only enabled source. 选择我的自定义包源作为唯一启用的源。
  5. Installed package from this solution. 从此解决方案安装包。
  6. After some period of time other packages were added to this Nuget Feed. 一段时间后,其他包被添加到此Nuget Feed中。 For example, bootrstrap, Microsoft.AspNet.Mvc etc. 例如,bootrstrap,Microsoft.AspNet.Mvc等。

If there is anyone who could give a hint, solution or guide in which direction should I keep on looking for a source of the problem, that would be very helpful. 如果有人可以给出提示,解决方案或指南,我应该继续寻找问题的根源,这将是非常有帮助的。

I expect the package source for all of those packages is "NuGet". 我希望所有这些软件包的软件包源代码都是“NuGet”。

You have upstream sources enabled. 您已启用上游源。 This is expected behavior; 这是预期的行为; your feed is synchronizing all of the application's required packages from NuGet.org, so that you only need to restore from a single feed, your Artifacts feed. 您的Feed正在同步NuGet.org中所有应用程序所需的包,因此您只需要从单个Feed中恢复您的Artifacts Feed。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM