title: Entity Framework 6 Cannot build after adding stored procedures to data model
body: <p>I just downloaded entity framework 6 and created a brand new project to test it. We currently use EF 5.</p>
  
  <p>After adding all my tables and stored procedures, I tried to build the project but I get errors:</p>
  
  <blockquote>
    <p>Value of type 'System.Data.Objects.ObjectParameter' cannot be
    converted to 'System.Data.Entity.Core.Objects.ObjectParameter'.</p>
    
    <p>Value of type 'System.Data.Entity.Core.Objects.ObjectResult(Of
    DataLibrary.MyStoredProc_Result)' cannot be converted to
    'System.Data.Objects.ObjectResult(Of
    DataLibrary.MyStoredProc_Result)'.</p>
  </blockquote>
  
  <p>I cannot figure out why this will not work out-of-the-box</p>
  
  <p>EF 5 had so such issues.</p>
  
  <p>I am using VS 2012. .Net 4.5 Vb.net (also tried with a C# project... same issue)</p>
  
  <p>Any ideas?</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>The answer was to install EF6 Tools for VS 2012. I did not know I had to do this since I thought that was installed when I added the Entity Framework package.</p>