VS2008 project with Entity Framework model results in "always dirty" compile

Posted by Jeremy Lew on Stack Overflow See other posts from Stack Overflow or by Jeremy Lew
Published on 2010-05-05T20:49:47Z Indexed on 2010/05/05 20:58 UTC
Read the original article Hit count: 182

In VS 2008, I have a simple .csproj that contains an Entity Framework .edmx (V1) file. Every time I build the project, the output DLL is updated, even though nothing has changed. I have reproduced this in the simplest-possible project (containing one ordinary .cs file and one edmx model). If I remove the edmx model and build repeatedly, the output assembly will not be touched. If I add the edmx model and build repeatedly, the output assembly is modified each time. This is a problem because the real project is a dependency of dozens of other projects and it is wreaking havoc with what times when working in higher layers of the application. Is this a known problem? Any way to fix it?

Thanks!

© Stack Overflow or respective owner

Related posts about vs2008

Related posts about entity-framework