I have some questions about setting up an EPiServer development environment.
1. When I install Nuget packages in my EPiServer project (like Core and UI) - will these receive updates automatically via the package manager? Or is this a strictly manual process, and if so, what's the process like?
2. The EPiServer Visual Studio project templates in the Visual Studio Gallery http://visualstudiogallery.msdn.microsoft.com/4ad95160-e72f-4355-b53e-0994d2958d3e don't create Nuget package references - instead they link to C:\Program Files and similar. Why is this? Is Nuget packages not the recommended way to setup EPiServer references in a project?
3. Does an EPiServer developer actually need to install EPiServer CMS, or is the project with Nuget references enough?
1) Manual process - right-click project, select "Manage nuget packages", select "Updates"
2) Nuget is the recommended way - I would guess the templates just haven't been updated
3) From 7.5 there is no need to install EPiServer - EPiServer program files are now part of the appData folder (VPP) - see release notes for 7.5. For earlier versions you need to install EPiServer program files.
Hi Jacek, did you find the “Installing EPiServer updates” helpful, or did you miss anything there?
We are working on an update to the Visual Studio integration that is 100% nuget based, it should show up as an update inside Visual Studio when we release it. Stay tuned.
@Mari: Thanks, that really clears things up!
@Helén: I've seen that page, but it was confusing for 2 reasons. First of all, it only mentions command-line updating of packages. Since this is not the most intuitive way to update packages (see Mari's reply) I thought the article referred to some special situation. Also, the page is about both "installing" and "updating" packages, and doesn't say whether this is in a "development environment" context or in a "production site" context.
@Per: Sounds good. We noticed the CMS and Shell packages were converted to "real" Nuget packages in the latest update.
Thanks everyone for your help!
Currently, our "setting up a new EPiServer project" process is like this:
I would also consider about to disable NuGet restore and add packages to source control (more inspiration: http://blog.ploeh.dk/2014/01/29/nuget-package-restore-considered-harmful/)
No thanks. We have great Internet in Sweden. :)
And NuGet is never down these days: http://status.nuget.org/958101/history
Now, if the EPiServer VS Integration would also add the EPi NuGet feed to VS that would be great...
Jacek Izdebski & Per Bolmstedt: I've updated the instruction in Installing EPiServer updates to describe how to get the updates in Visual Studio interface, hope it will be more clear now.