Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Upgrading Dynamicweb through Nuget

Upgrading Dynamicweb through Nuget

Søren Ravn Lund
Søren Ravn Lund
Reply

Hello,

We are starting to set up all of our projects through Nuget due to numerous reasons.

But, it takes a long time, just to upgrade a hotfix version because of the content part in Dynamiweb.Admin.

When installing a new DW, then it tries to remove the Dynamicweb.Admin package and all of its content, and thereby the Admin folder and its approx. 100mb and 5k files. This takes a long time but can be avoided by manually deleting it before upgrading.

Then, when it comes to adding the new Dynamicweb.Admin package, it will copy all of the content from ../Package/Dynamiweb.Admin/content (which includes the Admin folder, 100mb/5k files) to Project/Admin and include all of the files in the .csproj. This process takes 20-30min, and it will freeze if you leave the Visual Studio window. So, every time we want to upgrade a project, we need to be idle for about 30min. 

I have looked for ways to upgrade a Nuget Package without copying content, but haven't found any.

If we had a Dynamicweb.Admin Nuget Package that doesn't force-copy the content part, we could save a lot of hours each month and have a way easier time keeping more projects updated. 


Replies

 
Søren Ravn Lund
Søren Ravn Lund
Reply

Bump :-)

 

You must be logged in to post in the forum