Can't answer why this happen but when I upgrade using NuGet from 7.1.3 to 7.2.1 I experience an issue with the ClientDependency.Core & ClientDependency.Core.Mvc reference version becoming 1.8.0.0.
The solution was to edit the package.config to the correct versions then rebuild the solution, remove the wrong assemblies references then add the correct versions back from the packages folder (followed by another rebuild). You may also need to check for the references both "Copy local" fields are set to true.
NuGet upgrading ClientDependency Versions Wrong
Can't answer why this happen but when I upgrade using NuGet from 7.1.3 to 7.2.1 I experience an issue with the ClientDependency.Core & ClientDependency.Core.Mvc reference version becoming 1.8.0.0.
Other people have expereince a similar issue http://stackoverflow.com/questions/27450784/umbraco-7-2-cannot-add-controller
The solution was to edit the package.config to the correct versions then rebuild the solution, remove the wrong assemblies references then add the correct versions back from the packages folder (followed by another rebuild). You may also need to check for the references both "Copy local" fields are set to true.
Hope this helps someone else.
Solution without Restart, File explorer etc. For Version 7.2.1
Open MVC 4 Template in Visual Studio 2014
Select Empty Template
in the package explorer install UmbracoCMS 7.2.1 : install-package UmbracoCMS -Version 7.2.1
PM> uninstall-package ClientDependency -Force
Removing 'ClientDependency 1.8.0.0' from New_App.
Successfully removed 'ClientDependency 1.8.0.0' from New_App.
Uninstalling 'ClientDependency 1.8.0.0'.
Successfully uninstalled 'ClientDependency 1.8.0.0'.
PM> uninstall-package ClientDependency-MVC -Force
Removing 'ClientDependency-Mvc 1.8.0.0' from New_App.
Successfully removed 'ClientDependency-Mvc 1.8.0.0' from New_App.
Uninstalling 'ClientDependency-Mvc 1.8.0.0'.
Successfully uninstalled 'ClientDependency-Mvc 1.8.0.0'.
PM> install-package ClientDependency -Version 1.7.1.2
Installing 'ClientDependency 1.7.1.2'.
Successfully installed 'ClientDependency 1.7.1.2'.
Adding 'ClientDependency 1.7.1.2' to New_App.
Successfully added 'ClientDependency 1.7.1.2' to New_App.
PM> install-package ClientDependency-Mvc -Version 1.7.0.4
Attempting to resolve dependency 'ClientDependency (≥ 1.7.0.4)'.
Installing 'ClientDependency-Mvc 1.7.0.4'.
Successfully installed 'ClientDependency-Mvc 1.7.0.4'.
Adding 'ClientDependency-Mvc 1.7.0.4' to New_App.
Successfully added 'ClientDependency-Mvc 1.7.0.4' to New_App.
Right click Controllers, Click Add Controller, Add Controller Dialog will be displayed!!!
If you get an error aboout 'Too many items' when running locally then do the following to the web.config
Change the original line in the web.config
<clientDependencyconfigSource="config\ClientDependency.config"version="1">
to
<clientDependencyconfigSource="config\ClientDependency.config">
Should run then!
Thank you this solution worked for me.
is working on a reply...