我們的開發團隊(和構建服務器)成功地爲我們的應用程序使用了Visual Studio 2010和Visual Studio 2012的混合。我可以在Visual Studio 2010中使用實體框架6嗎?
但是,由於從EF5升級到EF6,我們似乎無法使用VS2010進行構建。 具體來說,構建機器根本不會構建。我的桌面上VS2010似乎建立,但我得到了以下錯誤:
Error 4 Error 10023: Could not find the conceptual model to validate.
Error 5 Error 10024: Could not find the storage model to validate.
Error 6 Error 10025: Could not find the mapping model to validate.
編輯:
我們的構建機器沒有.NET 4.5,我們的臺式機(由於IT策略)確實有.Net 4.5。在沒有4.5的機器上,我們也得到以下內容,這會阻止組件生成。
Could not find the Conceptual Schema node to embed as a resource for input file
搶,我相信有一個web.config設置使用EF5運行.net v4.0時。如果我可以將rmbr的確切細節添加爲答案,但希望這會讓你在路上 –