Reputation: 885
I have .NET Core C# class library projects that I want to upload to NuGet available here.
Some of these packages depend on others from the solution. For example MyTested.AspNetCore.Mvc depends on MyTested.AspNetCore.Mvc.Core.
Since there is slight delay of indexing when uploading a package to NuGet how can I overcome the following problem:
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.
Upvotes: 0
Views: 139
Reputation: 5413
I believe (remembering from a community standup), that the team uploads all the packages in an un-listed state, then flicks the switch to have them listed/indexed.
Upvotes: 2