Lately i have had the pleasure of working with Dynamicweb 9 and Nuget, and find it quite exciting, but also often a challenge...
First of. I installed a version 9.3.4 and a version 9.3.5 both from scratch and completely new installations. Followed your guide and in both cases the web.config is messed up and need adjustments to get the solution up and running. Don't understand why that is?
Another issue I have quite often, is that if I clone a solution from git that a coworker has created, and then build it. VS pulls down the packages needed and installs them, but more than often it doesn't gets the files in the Admin folder. The Admin folder and all the subfolders are there, but no files in them.
Today I ran into a new problem with a solution....
I cloned it from git ( its a 9.3.4 version ) and again, I had the issue with no files in the Admin folder... To get it to install them I ran the command "Update-Package -Reinstall" and to my surprise it desided to make a change to my packages.config ???
It changed :
- <package id="ABCpdf" version="9.1.1.5" targetFramework="net46" />
+ <package id="ABCpdf" version="9.1.1.9" targetFramework="net46" />
First of all, I don't understand why this is changed ? Once I have committed to use a specific DW Nuget version, I would expect it to ALWAYS be the same when I pull it from Nuget?
What also is a problem is that now the solution doesn't work anymore.
I get the error :
ABCpdf 64-bit core engine version 9119 is not compatible with ABCpdf .NET version 9.1.1.5.
When I inspect my references in VS, Dynamicweb.Gallery.1.0.1 still have a reference to the old 9.1.1.5 version of ABCpdf, which I would think is an error from your side ?
Again when I commit to use a specific DW version via Nuget, I would expect to get the same files every time. It's very important in my opinion that I can count on the fact that when a coworker pulls a project from git, he gets the same code I have.
In the end, I would like to mension the time used when installing Dynamicweb 9 via Nuget.
I know you in your installation guide writes "Now go get coffee or something - the install procedure takes a while", and I also know that the Admin folder contains about 5000+ files, but i still think it takes quite a long time.
Now I am no expect in Nuget, but would it be possible to get Nuget to download the Admin folder as a .zip and then get Nuget to unpack it locally?
Is the time issue something you are working on?
Currently my coworkers and I are in a debat about using Nuget or not for our solutions. The time consumption and the web.config/missing files are simply taking to much of our time, when compared to just downloading the .zip version from your website.
Switching back to the old way of doing things, would be really sad, as we think the Nuget way is the right way to go.