Print Page | Close Window

Build error when multiple model in Code First

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3654
Printed Date: 12-Mar-2025 at 7:07pm


Topic: Build error when multiple model in Code First
Posted By: Walid
Subject: Build error when multiple model in Code First
Date Posted: 24-Sep-2012 at 3:45am
As you know there is an error when you try to compile a solution with multiple Code first model  http://www.ideablade.com/forum/forum_posts.asp?TID=3426&KW=vs2012&title=code-first-generation-in-617-with-vs11-beta - http://www.ideablade.com/forum/forum_posts.asp?TID=3426&KW=vs2012&title=code-first-generation-in-617-with-vs11-beta  ).

I found out that setting (under Build & Run) this option to 1 (by default it's 4), allow us to compile without error. The backside is the build takes more time.





Replies:
Posted By: mgood
Date Posted: 24-Sep-2012 at 4:01am
Yes, we are aware of this setting. We didn't want to recommend changing it and risking that developers forget to change it back once we have the parallel build issues fixed.



Print Page | Close Window