EF exception: Could not find file CodeGenerationSchema.xsd

Posted by DK on Stack Overflow See other posts from Stack Overflow or by DK
Published on 2010-06-02T14:56:14Z Indexed on 2010/06/09 2:02 UTC
Read the original article Hit count: 264

Filed under:

I'm using Entity Framework for a new project (VS 2008, .net 3.5 sp1) and "reasonably happy" with it, especially compared to dataset-based solutions.

One of recurring annoyances is "Could not find file CodeGenerationSchema.xsd" exception during application startup. Exception seems to re-appear rather frequently after changes to the model.

Googling gives temporary and strange workarounds for this error:

  1. Delete .suo file, or
  2. Set Options > Debugging > General > Enable Just My Code = On

May be someone have more permanent, straightforward fix or can explain the reason of this issue.

© Stack Overflow or respective owner

Related posts about entity-framework