I don't know that much about nuget but what is the exact Umbraco version you want to upgrade from? Perhaps it's not possible before reaching a certain revision?
Check your nuget packages.config file, and see if UmbracoCms is listed there as a package, if you didn't originally install Umbraco via Nuget or if you just installed the UmbracoCMS.Core dlls, then you won't be able to use the Nuget command to Update-Packet to upgrade Umbraco.
When I've come across this with older sites I've inherited, depending on their complexity, I've just created a new clean visual studio solution file, used nuget to install the latest shiny version of 7, but then before running the solution, changed the connection string to be that of the old database (backing up first of course) and then run the new solution, which runs the installer (and after manually deleting / creating various indexes on the database tables depending on how old the original version of umbaco was) you end up with an upgraded database, and a clean solution, then I've ported across the implementation files: media, views, js, css, plugins dlls etc as necessary, which is a bit fiddly but the result is a solution I can nuget upgrade simply 'next time'.
Unable to upgrade Umbraco using NuGet
I've tried to upgrade Umbraco version from 4 to 6 and got the following error. Any solution?
Hi Jebsatin
I don't know that much about nuget but what is the exact Umbraco version you want to upgrade from? Perhaps it's not possible before reaching a certain revision?
/Jan
I've got the same issue - upgrading ver. 7.1.6 to 7.1.7 :-(
Check your nuget packages.config file, and see if UmbracoCms is listed there as a package, if you didn't originally install Umbraco via Nuget or if you just installed the UmbracoCMS.Core dlls, then you won't be able to use the Nuget command to Update-Packet to upgrade Umbraco.
When I've come across this with older sites I've inherited, depending on their complexity, I've just created a new clean visual studio solution file, used nuget to install the latest shiny version of 7, but then before running the solution, changed the connection string to be that of the old database (backing up first of course) and then run the new solution, which runs the installer (and after manually deleting / creating various indexes on the database tables depending on how old the original version of umbaco was) you end up with an upgraded database, and a clean solution, then I've ported across the implementation files: media, views, js, css, plugins dlls etc as necessary, which is a bit fiddly but the result is a solution I can nuget upgrade simply 'next time'.
I have the same problem, and I can see UmbracoCms listed in packages.config
Is there anything else I can look at?
/Jonas
Hi Jonas
Any chance you have Resharper enabled? If so try disabling it during the upgrade.
/Jan
Now I got it worked, I had some nuget package missing.
Thanks
is working on a reply...