Solution for Umbraco Mvc Project Error: "Could not load file or assembly 'ClientDependency.Core, Version=1.7.1.2, Culture=neutral, PublicKeyToken=null.' or one of its dependencies"

This error occurs  when trying to add a new controller to a Umbraco Mvc project(Umbraco version is 7.1.x.). This is an Umbraco bug and this is because of umbraco assemblies were built with specific versions.

All you need to do is;
  • Upgrade the umbraco mvc version to 7.2.2 or later by using Nuget Package Manager.
  • If you don't want to upgrade your umbraco mvc version, then you can just copy an existing controller and paste it and change it according to your project needs. This is the other way.
That's all!

Error Message:









Happy coding!

Comments

Popular posts from this blog

Solution for the fault: "System.Diagnostics.Process.Start is not working on IIS, but working on ASP.NET Development Server"

Solution for "Can not obtain Oracle client information from registry"