Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Duplicate Imports

If you see "duplicate import" issues, you may see error messages like the following:

FreeForm refers to both N2.Templates.Mvc.Models.Parts.FreeForm, N2.Templates.Mvc, Version=2.2.1.0, Culture=neutral, PublicKeyToken=null and Dinamico.Models.FreeForm, MWMvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (try using auto-import="false")

Solution: Check your ~/bin/ directory and ensure that you don't have both N2.Templates.Mvc and Dinamico templates in the same project. You can't use both traditional MVC and Dinamico (Razor MVC) templates in the same project.

Assembly binding issues

Errors such as [FileLoadException: Could not load file or assembly 'System.Web.Mvc, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

...