[英]Best way to upload multiple .NET Core packages with dependencies to each other to NuGet?
I have .NET Core C# class library projects that I want to upload to NuGet available here . 我有我要上传来的NuGet .NET核心C#类库项目可以在这里找到 。
Some of these packages depend on others from the solution. 其中一些软件包依赖于解决方案中的其他软件包。 For example MyTested.AspNetCore.Mvc depends on MyTested.AspNetCore.Mvc.Core. 例如,MyTested.AspNetCore.Mvc取决于MyTested.AspNetCore.Mvc.Core。
Since there is slight delay of indexing when uploading a package to NuGet how can I overcome the following problem: 由于将包上传到NuGet时索引编制会稍有延迟,我该如何解决以下问题:
What are my best options here? 我最好的选择是什么?
Should I upload the packages starting from the lowest dependent package and finishing with the most dependent one? 我应该从最低依赖包开始到最高依赖包上传吗? Since the number of packages may increase in the future, this may become quite tedious work to manage. 由于软件包的数量将来可能会增加,因此这可能变得非常繁琐的管理工作。
Should I unlist all packages untill they are all uploaded and then list them at once? 我是否应该取消列出所有程序包,直到它们全部上传,然后立即列出它们?
Anything else as solution? 还有什么解决方案吗? I wonder how Microsoft is doing with .NET Core and ASP.NET Core where they have hundreds of packages depending on each other. 我不知道Microsoft如何使用.NET Core和ASP.NET Core,它们之间有数百个相互依赖的软件包。
我相信(从社区立场出发),该团队将所有软件包上传到未列出状态,然后轻按开关以将其列出/编入索引。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.