//Tuesday 13 August 2013

Can't add Controller to MVC project in Visual Studio 2010 after installing Umbraco v6 Core binaries

I created an MVC project in Visual Studio 2010 and installed the Umbraco v6 core binaries using Nuget (version 6.0.5):

Install-Package UmbracoCms.Core

I was then unable to add a controller in Visual Studio. Right clicking the Controllers folder and choosing Add...Controller threw up an error dialog.

Could not load file or assembly 'umbraco, Version=1.0.4090.38017, Culture=neutral, PublicKeyToken=null' or one of it's dependencies. The system cannot find the file specified.

The solution to this is to remove the reference to the included library Our.Umbraco.uGoLive.47x.dll which apparently references a different version of umbraco to the one included in the package.

Found the answer on Our Umbraco here:


No comments: