Developer forum

Forum » Development » NUget package version policy

NUget package version policy

Ben Doorn
Reply

Hi,

What is your policy on the version history on the nuget packages? Right now we cannot restore a VS project that runs version 9.3.3 of Dynamicweb. Upgrading from a missing package is also not a standard feature of the package manager of Visual Studio. 

Kind regards,

Ben


Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Stable packages that has been downloaded will not be deleted.
Pre-release packages will be deleted after a while.

Please zip and upload the Application/packages.config file if you want us to take a closer look at it.

Best regards,
Morten

 
Ben Doorn
Reply

Hi Morton,

In particular it seems to be the Dynamicweb.Admin package. I looked at some other packages and from them the older versions are available. Right now the oldest Admin package is 9.3.5 so probably only the last 9 versions are available. If this is the standard policy, we need to figure out a way to handle this in our source control setup.

For this project we solved it by copying the whole package folder from another development system, but this should not be the standard procedure and makes it more difficult to quickly install a project on a fresh development system. 

Kind regards,

Ben

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Ben

Yes, we cleaned the Dynamicweb.Admin packages of some of the older versions (we had an issue with feed size). But generally, we keep packages if they have been used, otherwise the retention policy is to keep 20 stable versions around. Attached the retention policy of our feeds.

We will of course try to keep the feeds as usable as possible. But we will also remove old stuff as time goes by as the feed gets filled.

BR Nicolai

Capture.PNG
Votes for this answer: 1
 
Ben Doorn
Reply

Hi Nicolai,

I like the option at the bottom :) I can understand that you removed some versions of the admin package because of the size. But this slightly degradades the usability of the NuGet packages, because we somehow have to store every used admin package on our own systems. 

Kind regards,

Ben

 

You must be logged in to post in the forum