title: Found conflicts between different versions of the same dependent assembly.MVC3 -> MVC4 / EF4 -> EF5
body: <p>The question is how to resolve conflicts between versions of assemblies in my project that was upgraded to MVC4 and EF5?</p>
  
  <p>The problem is manifest in the fact that my controllers and models can include System.Data.Objects, but now my views.</p>
  
  <p>I am using MVC 4, my project was upgraded from MVC 3.</p>
  
  <p>Entity Framework is version 5.</p>
  
  <p>I have a controller that is able to use objectcontext from System.Data.Objects.</p>
  
  <p>My Usings: 
      using System.Data.Objects;
      using System.Data.Entity;</p>
  
  <p>When I try to include the using in the view form System.Data.Objects, I get :</p>
  
  <p>CS0234: The type or namespace name 'Objects' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)</p>
  
  <p>I am targeting .net 4.5</p>
  
  <p>My Build Displays this message:
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1561,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly.</p>